The routine may be called by the names f16jsf, nagf_blast_zamax_val or its BLAST name blas_zamax_val.
3Description
f16jsf computes, with respect to absolute value, the largest component, , of an -element complex vector , and determines the smallest index, , such that
4References
Basic Linear Algebra Subprograms Technical (BLAST) Forum (2001) Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard University of Tennessee, Knoxville, Tennessee https://www.netlib.org/blas/blast-forum/blas-report.pdf
5Arguments
1: – IntegerInput
On entry: , the number of elements in .
2: – Complex (Kind=nag_wp) arrayInput
On entry: the -element vector .
If ,
must be stored in , for .
If ,
must be stored in , for .
Intermediate elements of x are not referenced. If , x is not referenced.
3: – IntegerInput
On entry: the increment in the subscripts of x between successive elements of .
Constraint:
.
4: – IntegerOutput
On exit: , the index, from the set , of the largest component of with respect to absolute value. If on input then k is returned as .
5: – Real (Kind=nag_wp)Output
On exit: , the largest component of with respect to absolute value. If on input then r is returned as .