naginterfaces.library.matop.real_gen_matmul¶
- naginterfaces.library.matop.real_gen_matmul(b, c, opt)[source]¶
real_gen_matmul
returns with the result of the multiplication of two matrices and in the matrix , with the option to overwrite or .For full information please refer to the NAG Library document for f01ck
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f01/f01ckf.html
- Parameters
- bfloat, array-like, shape
The matrix .
- cfloat, array-like, shape
The matrix .
- optint
The value of determines which array is to contain the final result.
must be distinct from and and, on exit, contains the result. and need not be distinct in this case.
must be distinct from and on exit, contains the result. is not used in this case and need not be distinct from or .
must be distinct from and on exit, contains the result. is not used in this case and need not be distinct from or .
- Returns
- afloat, ndarray, shape
If , contains the result of the matrix multiplication.
- bfloat, ndarray, shape
If , contains the result of the multiplication.
- cfloat, ndarray, shape
If , contains the result of the multiplication.
- Raises
- NagValueError
- (errno )
On entry, .
Constraint: .
- (errno )
On entry, .
Constraint: .
- (errno )
On entry, .
Constraint: .
- (errno )
On entry, and .
Constraint: if , .
- (errno )
On entry, and .
Constraint: if , .
- Notes
No equivalent traditional C interface for this routine exists in the NAG Library.
The matrix is post-multiplied by the matrix . If the result is formed in the matrix . If , must equal , and the result is written back to . If , must equal , and the result is written back to .