bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / sspr2
blas_function
scipy.linalg._fblas:sspr2
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def sspr2(n, alpha, x, y, ap, incx = 1, offx = 0, incy = 1, offy = 0, lower = 0, overwrite_ap = 0)Summary
Packed symmetric rank-2 update ap = alpha*(outer(x, y) + outer(y, x)) + ap (BLAS sspr2).
Parameters
n: intOrder of the matrix.
alpha: floatScalar multiplier.
x: ndarrayFirst input vector.
y: ndarraySecond input vector.
ap: ndarraysymmetric matrix in packed storage, updated in place.
incx: int, optionalStride between successive elements of
x. Default is 1.offx: int, optionalIndex of the first element of
xto use. Default is 0.incy: int, optionalStride between successive elements of
y. Default is 1.offy: int, optionalIndex of the first element of
yto use. Default is 0.lower: int, optionalIf 0, the upper triangle is used; if 1, the lower. Default is 0.
overwrite_ap: int, optionalIf nonzero,
apmay be overwritten in place. Default is 0.
Returns
ap: ndarrayThe updated packed matrix.
Aliases
scipy.linalg._fblas.sspr2