Matrix<T>.Multiply And Add As Right Factor Core Method
Adds the scaled product of two matrices to another matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The sum of left with factor times the product of leftFactor transformed as specified by leftOperation with this matrix transformed as specified by rightOperation.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected virtual Matrix<T> MultiplyAndAddAsRightFactorCore(
T factor,
Matrix<T> left,
T productFactor,
Matrix<T> leftFactor,
TransposeOperation leftOperation,
TransposeOperation rightOperation,
Matrix<T> result
)
Parameters
- factor T
- The scale factor for the left operand of the addition.
- left Matrix<T>
- The left operand of the addition.
- productFactor T
- The scale factor for the matrix-matrix product.
- leftFactor Matrix<T>
- A matrix that acts as the left operand of the multiplication.
- leftOperation TransposeOperation
- The operation to be performed on leftFactor before multiplying.
- rightOperation TransposeOperation
- The operation to be performed on this matrix before multiplying.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Return Value
Matrix<T>The sum of left with factor times the product of leftFactor transformed as specified by leftOperation with this matrix transformed as specified by rightOperation.