bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / cspr
blas_function
scipy.linalg._fblas:cspr
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def cspr(n, alpha, x, ap, incx = 1, offx = 0, lower = 0, overwrite_ap = 0)Summary
Packed symmetric rank-1 update ap = alpha*outer(x, x) + ap (BLAS cspr).
Parameters
n: intOrder of the matrix.
alpha: complexScalar multiplier.
x: ndarrayInput 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.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.cspr