scipy.linalg.blas.chpr#
- scipy.linalg.blas.chpr(n, alpha, x, ap, incx=1, offx=0, lower=0, overwrite_ap=0) = <fblas function chpr>#
Packed Hermitian rank-1 update
ap = alpha*outer(x, conj(x)) + ap(BLASchpr).- Parameters:
- nint
Order of the matrix.
- alphafloat
Real scalar multiplier.
- xndarray
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.
- 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.