This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

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 : ndarray

Input vector.

n : int, optional

Number of elements to process. Default is the whole vector.

offx : int, optional

Index of the first element of x to use. Default is 0.

incx : int, optional

Stride between successive elements of x. Default is 1.

Returns

k : int

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.

Aliases

  • scipy.linalg._fblas.idamax