Matrix.Multiply Into<T>(Matrix<T>, Transpose Operation, Matrix<T>, Transpose Operation, Matrix<T>) Method
Multiplies one matrix by another matrix and returns
the result.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix that is the product of the matrix left, transformed as specified by leftOperation, with the matrix right, transformed as specified by rightOperation.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> MultiplyInto<T>(
Matrix<T> left,
TransposeOperation leftOperation,
Matrix<T> right,
TransposeOperation rightOperation,
Matrix<T> result
)
Parameters
- left Matrix<T>
- The left operand of the multiplication.
- leftOperation TransposeOperation
- A TransposeOperation value that indicates which operation, if any, should be performed on this instance before multiplying.
- right Matrix<T>
- The right operand of the multiplication.
- rightOperation TransposeOperation
- A TransposeOperation value that indicates which operation, if any, should be performed on the matrix right before multiplying.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix that is the product of the matrix left, transformed as specified by leftOperation, with the matrix right, transformed as specified by rightOperation.
Remarks
This method calculates the matrix product of two matrices. The exact form of the operation is determined by the other parameters. The dimensions of the two matrices must be compatible with this form.
Exceptions
Argument | left is null. -or- right is null. |