Matrix.Multiply<T>(Matrix<T>, Matrix<T>) Method
Multiplies two matrix objects.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A Matrix<T> that is the product of matrix1 and matrix2.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> Multiply<T>(
Matrix<T> matrix1,
Matrix<T> matrix2
)
Parameters
Type Parameters
- T
Return Value
Matrix<T>A Matrix<T> that is the product of matrix1 and matrix2.
Remarks
This method returns the matrix product of its two arguments. For this operation to be defined, the number of columns of matrix1 must equal the number of rows of matrix2.
Exceptions
Argument | matrix1 is null.
-or- matrix2 is null. |
Dimension | The number of columns of matrix1 does not equal the number of rows of matrix2. |