Matrix<T>.Multiply And Add Into 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 this matrix transformed as specified by leftOperation with rightFactor transformed as specified by rightOperation.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Matrix<T> MultiplyAndAddInto(
T factor,
Matrix<T> left,
T productFactor,
Matrix<T> leftFactor,
TransposeOperation leftOperation,
Matrix<T> rightFactor,
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>
- The left operand of the multiplication.
- leftOperation TransposeOperation
- The operation to be performed on this matrix before multiplying.
- rightFactor Matrix<T>
- The right operand of the multiplication.
- rightOperation TransposeOperation
- The operation to be performed on rightFactor 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 this matrix transformed as specified by leftOperation with rightFactor transformed as specified by rightOperation.