bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / idamax
blas_function
scipy.linalg._fblas:idamax
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def idamax(x, n = None, offx = 0, incx = 1)Summary
Return the index of the element of x with the largest absolute value (BLAS idamax).
Parameters
x: ndarrayInput vector.
n: int, optionalNumber of elements to process. Default is the whole vector.
offx: int, optionalIndex of the first element of
xto use. Default is 0.incx: int, optionalStride between successive elements of
x. Default is 1.
Returns
k: intIndex 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.
Aliases
scipy.linalg._fblas.idamax