naginterfaces.library.blas.zgemm

naginterfaces.library.blas.zgemm(transa, transb, m, k, alpha, a, b, beta, c=None)[source]

zgemm performs one of the matrix-matrix operations

where , and are complex matrices, and and are complex scalars; is always .

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

https://www.nag.com/numeric/nl/nagdoc_29.3/flhtml/f06/f06zaf.html

Parameters
transastr, length 1

Specifies whether the operation involves , or .

The operation involves .

The operation involves .

The operation involves .

transbstr, length 1

Specifies whether the operation involves , or .

The operation involves .

The operation involves .

The operation involves .

mint

, the number of rows of the matrix ; the number of rows of if , or the number of columns of if or .

kint

, the number of columns of if , or the number of rows of if or ; the number of rows of if , or the number of columns of if or .

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 matrix ; is if , or if or .

bcomplex, 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 matrix ; is if , or if or .

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: .

(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.