naginterfaces.library.blas.ztrmm

naginterfaces.library.blas.ztrmm(side, uplo, transa, diag, m, alpha, a, b)[source]

ztrmm performs one of the matrix-matrix operations

where is an complex matrix, is a complex triangular matrix, and is a complex scalar.

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

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f06/f06zff.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 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 .

diagstr, length 1

Specifies whether has nonunit or unit diagonal elements.

The diagonal elements are stored explicitly.

The diagonal elements are assumed to be , and are not referenced.

mint

, the number of rows of the matrix ; 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 triangular matrix ; is if , or if .

bcomplex, array-like, shape

The matrix .

If , need not be set.

Returns
bcomplex, 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: , 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.