bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / saxpy
blas_function
scipy.linalg._fblas:saxpy
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def saxpy(x, y, n = None, a = 1.0, offx = 0, incx = 1, offy = 0, incy = 1)Summary
Compute y = a*x + y (BLAS saxpy).
Parameters
x: ndarrayInput vector.
y: ndarrayInput/output vector; on exit it holds
a*x + y.n: int, optionalNumber of elements to process. Default is the whole vector.
a: float, optionalScalar multiplier. Default is 1.
offx: int, optionalIndex of the first element of
xto use. Default is 0.incx: int, optionalStride between successive elements of
x. Default is 1.offy: int, optionalIndex of the first element of
yto use. Default is 0.incy: int, optionalStride between successive elements of
y. Default is 1.
Returns
y: ndarrayThe updated vector
a*x + y.
Aliases
scipy.linalg._fblas.saxpy