naginterfaces.library.matop.real_​tri_​matmul_​inplace

naginterfaces.library.matop.real_tri_matmul_inplace(side, uplo, transa, alpha, a, b)[source]

real_tri_matmul_inplace performs one of the matrix-matrix operations

where and are real triangular matrices, and is a real scalar.

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

https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f01/f01dgf.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 and are upper or lower triangular.

and are upper triangular.

and are lower triangular.

transastr, length 1

Specifies whether the operation involves or .

The operation involves .

or

The operation involves .

alphafloat

The scalar .

afloat, array-like, shape

The triangular matrix .

bfloat, ndarray, shape , modified in place

On entry: the triangular matrix .

If , need not be set.

On exit: is overwritten.

Raises
NagValueError
(errno )

On entry, .

Constraint: or .

(errno )

On entry, .

Constraint: or .

(errno )

On entry, .

Constraint: , or .

(errno )

On entry, .

Constraint: .

Notes

real_tri_matmul_inplace computes the matrix product or for two upper triangular or two lower triangular matrices. The storage method for matrices and must match (e.g., and must both be upper triangular or lower triangular matrices). When the transpose of the input matrix is used during computation, the solution matrix is a general matrix. Otherwise, the solution matrix is a triangular matrix with the storage method identified by the input argument .