scipy.linalg.blas.cher2k#
- scipy.linalg.blas.cher2k(alpha, a, b, beta=0.0, c=None, trans=0, lower=0, overwrite_c=0) = <fblas function cher2k>#
Hermitian rank-2k update
c = alpha*op(a)@op(b).conj().T + conj(alpha)*op(b)@op(a).conj().T + beta*c(BLAScher2k).- Parameters:
- alphacomplex
Scalar multiplier for the product.
- andarray
First input matrix.
- bndarray
Second input matrix.
- betacomplex, optional
Scalar multiplier for c. Only its real part is used. Default is 0.
- cndarray, optional
Hermitian matrix to update; if omitted a new zero matrix is allocated. Default is None.
- transint, optional
Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.
- lowerint, optional
If 0, the upper triangle is used; if 1, the lower. Default is 0.
- overwrite_cint, optional
If nonzero, c may be overwritten in place. Default is 0.
- Returns:
- cndarray
The updated matrix.