Multiplies a matrix on the right by a DiagonalMatrix..
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Operator * ( _ matrix As GeneralMatrix, _ diagonalMatrix As DiagonalMatrix _ ) As Matrix |
| C# |
|---|
public static Matrix operator * ( GeneralMatrix matrix, DiagonalMatrix diagonalMatrix ) |
| C++ |
|---|
public: static Matrix^ operator * ( GeneralMatrix^ matrix, DiagonalMatrix^ diagonalMatrix ) |
Parameters
- diagonalMatrix (Extreme.Mathematics.LinearAlgebra.DiagonalMatrix)
- A DiagonalMatrix.
Return Value
A Matrix 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
| Exception | Condition |
|---|---|
| ArgumentNullException | diagonalMatrix is nullNothingnullptr -or- matrix is nullNothingnullptr |
| DimensionMismatchException | The number of columns of matrix does not equal the number of rows of diagonalMatrix. |