scipy.linalg.blas.isamax#
- scipy.linalg.blas.isamax(x, n=None, offx=0, incx=1) = <fblas function isamax>#
Return the index of the element of x with the largest absolute value (BLAS
isamax).- Parameters:
- xndarray
Input vector.
- nint, optional
Number of elements to process. Default is the whole vector.
- offxint, optional
Index of the first element of x to use. Default is 0.
- incxint, optional
Stride between successive elements of x. Default is 1.
- Returns:
- kint
Index of the element with the largest absolute value. This is a 0-based index into x; the underlying BLAS routine returns a 1-based index, which SciPy shifts by one.