Diagonal Matrix<T>.Multiply Operator
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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
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
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. |