scipy.linalg.blas.chemm#

scipy.linalg.blas.chemm(alpha, a, b, beta=0.0, c=None, side=0, lower=0, overwrite_c=0) = <fblas function chemm>#

Compute c = alpha*a@b + beta*c for a Hermitian matrix a (BLAS chemm).

Parameters:
alphacomplex

Scalar multiplier for the product.

andarray

Hermitian matrix; only the triangle selected by lower is referenced.

bndarray

General matrix.

betacomplex, optional

Scalar multiplier for c. Default is 0.

cndarray, optional

Input/output matrix; if omitted a new zero matrix is allocated. Default is None.

sideint, optional

If 0, a multiplies from the left; if 1, from the right. 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 matrix alpha*a@b + beta*c (or alpha*b@a + beta*c if side=1).