bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _fblas / cher2k
blas_function
scipy.linalg._fblas:cher2k
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_fblas.cpython-314-x86_64-linux-gnu.so
Signature
def cher2k(alpha, a, b, beta = 0.0, c = None, trans = 0, lower = 0, overwrite_c = 0)Summary
Hermitian rank-2k update c = alpha*op(a)@op(b).conj().T + conj(alpha)*op(b)@op(a).conj().T + beta*c (BLAS cher2k).
Parameters
alpha: complexScalar multiplier for the product.
a: ndarrayFirst input matrix.
b: ndarraySecond input matrix.
beta: complex, optionalScalar multiplier for
c. Only its real part is used. Default is 0.c: ndarray, optionalHermitian matrix to update; if omitted a new zero matrix is allocated. Default is None.
trans: int, optionalOperation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.
lower: int, optionalIf 0, the upper triangle is used; if 1, the lower. Default is 0.
overwrite_c: int, optionalIf nonzero,
cmay be overwritten in place. Default is 0.
Returns
c: ndarrayThe updated matrix.
Aliases
scipy.linalg._fblas.cher2k