naginterfaces.library.matop.real_tri_matmul¶
- naginterfaces.library.matop.real_tri_matmul(uplo, transa, transb, alpha, a, b, beta, c=None)[source]¶
real_tri_matmul
performs one of the matrix-matrix operationswhere , and are real triangular matrices, and and are real scalars.
For full information please refer to the NAG Library document for f01df
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f01/f01dff.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 .
or
The operation involves .
- transbstr, 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, array-like, shape
The triangular matrix .
- betafloat
The scalar .
- cNone or float, array-like, shape , optional
The matrix .
If , need not be set and may be None.
- Returns
- cfloat, 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
real_tri_matmul
computes the triangular matrix product , where , , and are all upper triangular or all lower triangular matrices, and where is either or .