bundles / scipy latest / scipy / linalg / _fblas / zhpr2
blas_function
scipy.linalg._fblas:zhpr2
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def zhpr2(n, alpha, x, y, ap, incx = 1, offx = 0, incy = 1, offy = 0, lower = 0, overwrite_ap = 0)Summary
Packed Hermitian rank-2 update ap = alpha*outer(x, conj(y)) + conj(alpha)*outer(y, conj(x)) + ap (BLAS zhpr2).
Parameters
n: intOrder of the matrix.
alpha: complexScalar multiplier.
x: ndarrayFirst input vector.
y: ndarraySecond input vector.
ap: ndarrayHermitian 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.zhpr2