scipy.linalg.blas.izamax#
- scipy.linalg.blas.izamax(x, n=None, offx=0, incx=1) = <fblas function izamax>#
Return the index of the element of x with the largest absolute value (BLAS
izamax).- 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 maximizing
abs(x.real) + abs(x.imag). This is a 0-based index into x; the underlying BLAS routine returns a 1-based index, which SciPy shifts by one.