Multiplies this Matrix by another matrix and returns
the result.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overridable Function Multiply ( _ side As MatrixOperationSide, _ transposeA As TransposeOperation, _ transposeB As TransposeOperation, _ matrix As Matrix _ ) As Matrix |
| C# |
|---|
public virtual Matrix Multiply ( MatrixOperationSide side, TransposeOperation transposeA, TransposeOperation transposeB, Matrix matrix ) |
| C++ |
|---|
public: virtual Matrix^ Multiply ( MatrixOperationSide side, TransposeOperation transposeA, TransposeOperation transposeB, Matrix^ matrix ) |
Parameters
- side (Extreme.Mathematics.LinearAlgebra.MatrixOperationSide)
- A MatrixOperationSide value that specifies whether the matrix a is the left or right operand of the multiplication.
- transposeA (Extreme.Mathematics.LinearAlgebra.TransposeOperation)
- A TransposeOperation value that indicates which operation, if any, should be performed on this instance before multiplying.
- transposeB (Extreme.Mathematics.LinearAlgebra.TransposeOperation)
- A TransposeOperation value that indicates which operation, if any, should be performed on the matrix matrix before multiplying.
- matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
- A Matrix.
Return Value
A Matrix that is the product of this matrix and the matrix matrix.
Remarks
This method calculates the matrix product of this instance with
the matrix matrix.
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
| Exception | Condition |
|---|---|
| ArgumentNullException | matrix is nullNothingnullptr. |