amax(3F)

idamax, isamax, izamax, icamax - BLAS Maximum index functions

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     idamax, isamax, izamax, icamax - BLAS Maximum index functions

FORTRAN 77 SYNOPSIS
     integer function idamax( n, x, incx )
     integer           incx, n
     double precision  x( 1 )

     integer function isamax( n, x, incx )
     integer          incx, n
     real             x( 1 )

     integer function izamax( n, x, incx )
     integer          incx, n
     complex*16       x( 1 )

     integer function icamax( n, x, incx )
     integer          incx, n
     complex          x( 1 )


C SYNOPSIS
     Integer idamax( n, x, incx )
     Integer           incx, n;
     double            (*x)[ n ];

     Integer isamax( n, x, incx )
     Integer          incx, n;
     float            (*x)[ n ];

     Integer izamax( n, x, incx )
     Integer          incx, n;
     Zomplex          (*x)[ n ];

     Integer icamax( n, x, incx )
     Integer          incx, n;
     Complex          (*x)[ n ];


DESCRIPTION
     idamax, isamax, izamax, and icamax, return the index of the maximum value
     of vector x.  The vector x has length n and increment incx.
     For izamax and icamax , the norm of each value is taken as:

           Abs( Real( x(i) ) ) + Abs( Imag( x(i) ) )


AUTHOR
          Jack Dongarra, linpack, 3/11/78.