naginterfaces.library.blas.dgemm¶
- naginterfaces.library.blas.dgemm(transa, transb, alpha, a, b, beta, c=None)[source]¶
dgemm
performs one of the matrix-matrix operationswhere , and are real matrices, and and are real scalars; is always .
For full information please refer to the NAG Library document for f06ya
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06yaf.html
- Parameters
- 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
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 matrix ; is if , or if or .
- bfloat, 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 matrix ; is if , or if or .
- betafloat
The scalar .
- cNone or float, array-like, shape , optional
The matrix .
If , need not be set.
- Returns
- cfloat, 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: .
- (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.