Diagonal Matrix<T>.Multiply Operator
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Multiply( | Multiplies a matrix on the right by a DiagonalMatrix<T>.. |
Multiply( | Multiplies a matrix on the left by a DiagonalMatrix<T>.. |
Multiply(DenseMatrix<T>, DiagonalMatrix<T>) Operator
Multiplies a matrix on the right by a DiagonalMatrix<T>..
public static Matrix<T> operator *(
DenseMatrix<T> matrix,
DiagonalMatrix<T> diagonalMatrix
)
Parameters
- matrix DenseMatrix<T>
- A Matrix<T>.
- diagonalMatrix DiagonalMatrix<T>
- A DiagonalMatrix<T>.
Return Value
Matrix<T>A Matrix<T> that is the product of diagonalMatrix and matrix.
Remarks
The number of columns of matrix must be equal to the number of rows of diagonalMatrix. Otherwise, an exception of type DimensionMismatchException is thrown.
This method uses the BLAS routine DGEMM.
Exceptions
Argument | diagonalMatrix is null -or- matrix is null |
Dimension | The number of columns of matrix does not equal the number of rows of diagonalMatrix. |
Multiply(DiagonalMatrix<T>, Matrix<T>) Operator
Multiplies a matrix on the left by a DiagonalMatrix<T>..
public static Matrix<T> operator *(
DiagonalMatrix<T> diagonalMatrix,
Matrix<T> matrix
)
Parameters
- diagonalMatrix DiagonalMatrix<T>
- A DiagonalMatrix<T>.
- matrix Matrix<T>
- A Matrix<T>.
Return Value
Matrix<T>A Matrix<T> that is the product of diagonalMatrix and matrix.
Remarks
The number of columns of diagonalMatrix must be equal to the number of rows of matrix. Otherwise, an exception of type DimensionMismatchException is thrown.
This method uses the BLAS routine DGEMM.
Exceptions
Argument | diagonalMatrix is null -or- matrix is null |
Dimension | The number of columns of diagonalMatrix does not equal the number of rows of matrix. |