scipy.linalg.blas.zhpr2#
- scipy.linalg.blas.zhpr2(n, alpha, x, y, ap, incx=1, offx=0, incy=1, offy=0, lower=0, overwrite_ap=0) = <fblas function zhpr2>#
Packed Hermitian rank-2 update
ap = alpha*outer(x, conj(y)) + conj(alpha)*outer(y, conj(x)) + ap(BLASzhpr2).- Parameters:
- nint
Order of the matrix.
- alphacomplex
Scalar multiplier.
- xndarray
First input vector.
- yndarray
Second input vector.
- apndarray
Hermitian matrix in packed storage, updated in place.
- incxint, optional
Stride between successive elements of x. Default is 1.
- offxint, optional
Index of the first element of x to use. Default is 0.
- incyint, optional
Stride between successive elements of y. Default is 1.
- offyint, optional
Index of the first element of y to use. Default is 0.
- lowerint, optional
If 0, the upper triangle is used; if 1, the lower. Default is 0.
- overwrite_apint, optional
If nonzero, ap may be overwritten in place. Default is 0.
- Returns:
- apndarray
The updated packed matrix.