BLAS Level 1: iamax
iamax (defined in namespace flens::blas) finds the index of the element with maximum absolute value, i.e. find \(i\) such that \(|x_i| = \max\limits_k |x_k|\)
x |
(input) real or complex valued DenseVector |
Return value:
Index \(i\) such that \(|x_i| = \max\limits_k |x_k|\).