This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _fblas / zspr

blas_function

scipy.linalg._fblas:zspr

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so

Signature

def zspr(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 zspr).

Parameters

n : int

Order of the matrix.

alpha : complex

Scalar multiplier.

x : ndarray

Input vector.

ap : ndarray

Symmetric matrix in packed storage, updated in place.

incx : int, optional

Stride between successive elements of x. Default is 1.

offx : int, optional

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

lower : int, optional

If 0, the upper triangle is used; if 1, the lower. Default is 0.

overwrite_ap : int, optional

If nonzero, ap may be overwritten in place. Default is 0.

Returns

ap : ndarray

The updated packed matrix.

Aliases

  • scipy.linalg._fblas.zspr