Multiplies two Matrix objects.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Operator * ( _ matrix1 As Matrix, _ matrix2 As Matrix _ ) As Matrix |
| C# |
|---|
public static Matrix operator * ( Matrix matrix1, Matrix matrix2 ) |
| C++ |
|---|
public: static Matrix^ operator * ( Matrix^ matrix1, Matrix^ matrix2 ) |
Parameters
- matrix1 (Extreme.Mathematics.LinearAlgebra.Matrix)
- The first Matrix.
- matrix2 (Extreme.Mathematics.LinearAlgebra.Matrix)
- The second Matrix.
Return Value
A Matrix that is the product of matrix1 and matrix2.
Exceptions
| Exception | Condition |
|---|---|
| DimensionMismatchException | The number of columns of matrix1 does not equal the number of rows of matrix2. |