naginterfaces.library.blast.zamax_val¶
- naginterfaces.library.blast.zamax_val(x)[source]¶
zamax_val
computes, with respect to absolute value, the largest component of a complex vector, along with the index of that component.For full information please refer to the NAG Library document for f16js
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f16/f16jsf.html
- Parameters
- xcomplex, array-like, shape
The -element vector .
If , must be stored in , for .
If , is not referenced.
- Returns
- kint
Note: this argument represents an array index; the value returned will be base-1.
, the index, from the set , of the largest component of with respect to absolute value. If on input then is returned as .
- rfloat
, the largest component of with respect to absolute value. If on input then is returned as .
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
zamax_val
computes, with respect to absolute value, the largest component, , of an -element complex vector , and determines the smallest index, , such that
- References
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