naginterfaces.library.blas.zhemm

naginterfaces.library.blas.zhemm(side, uplo, m, alpha, a, b, beta, c=None)[source]

zhemm performs one of the matrix-matrix operations

where is a complex Hermitian matrix, and are complex matrices, and and are complex scalars.

For full information please refer to the NAG Library document for f06zc

https://www.nag.com/numeric/nl/nagdoc_28.5/flhtml/f06/f06zcf.html

Parameters
sidestr, length 1

Specifies whether is operated on from the left or the right.

is pre-multiplied from the left.

is post-multiplied from the right.

uplostr, length 1

Specifies whether the upper or lower triangular part of is stored.

The upper triangular part of is stored.

The lower triangular part of is stored.

mint

, the number of rows of the matrices and ; the order of if .

alphacomplex

The scalar .

acomplex, array-like, shape

Note: the required extent for this argument in dimension 1 is determined as follows: if : ; if : ; otherwise: .

Note: the required extent for this argument in dimension 2 is determined as follows: if : ; if : ; otherwise: .

The Hermitian matrix ; is if , or if .

bcomplex, array-like, shape

The matrix .

betacomplex

The scalar .

cNone or complex, array-like, shape , optional

The matrix .

If , need not be set.

Returns
ccomplex, ndarray, shape

The updated matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: or .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

In the NAG Library the traditional C interface for this routine uses a different algorithmic base. Please contact NAG if you have any questions about compatibility.