nag_imax_val (f16dnc) computes the largest component of an integer vector, along with the index of that component.
nag_imax_val (f16dnc) computes the largest component,
, of an
-element integer vector
, and determines the smallest index,
, such that
Basic Linear Algebra Subprograms Technical (BLAST) Forum (2001)
Basic Linear Algebra Subprograms Technical (BLAST) Forum Standard University of Tennessee, Knoxville, Tennessee
http://www.netlib.org/blas/blast-forum/blas-report.pdfThe BLAS standard requires accurate implementations which avoid unnecessary over/underflow (see Section 2.7 of
Basic Linear Algebra Subprograms Technical (BLAST) Forum (2001)).
Not applicable.
None.
This example computes the largest component and index of that component for the vector