naginterfaces.library.matop.complex_​tri_​matmul

naginterfaces.library.matop.complex_tri_matmul(uplo, transa, transb, alpha, a, b, beta, c=None)[source]

complex_tri_matmul performs one of the matrix-matrix operations

where , , and are complex triangular matrices, and and are complex scalars.

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

https://support.nag.com/numeric/nl/nagdoc_30.1/flhtml/f01/f01dtf.html

Parameters
uplostr, length 1

Specifies whether is upper or lower triangular.

is upper triangular.

is lower triangular.

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 .

alphacomplex

The scalar .

acomplex, array-like, shape

The triangular matrix .

bcomplex, array-like, shape

The triangular matrix .

betacomplex

The scalar .

cNone or complex, array-like, shape , optional

The matrix .

If , need not be set and may be None.

Returns
ccomplex, ndarray, shape

The triangular part of , as specified by , is updated.

Raises
NagValueError
(errno )

On entry, .

Constraint: or .

(errno )

On entry, .

Constraint: , or .

(errno )

On entry, .

Constraint: , or .

(errno )

On entry, .

Constraint: .

Notes

complex_tri_matmul computes the triangular matrix product , where , , and are all upper triangular or all lower triangular matrices, and where is either , , or .