Permutation Matrix.Multiply And Add As Left Factor Core Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Multiply | Multiplies the matrix with a vector, adds the scaled result to another scaled vector, and returns the result. |
Multiply | Adds the scaled product of two matrices to another matrix. |
MultiplyAndAddAsLeftFactorCore(Double, Vector<Double>, Double, TransposeOperation, Vector<Double>, Vector<Double>)
Multiplies the matrix with a vector, adds the scaled result to another scaled
vector, and returns the result.
protected override Vector<double> MultiplyAndAddAsLeftFactorCore(
double leftFactor,
Vector<double> left,
double productFactor,
TransposeOperation transpose,
Vector<double> rightFactor,
Vector<double> result
)
Parameters
- leftFactor Double
- The scale factor for the vector.
- left Vector<Double>
- The vector in the left term of the addition.
- productFactor Double
- The scale factor for the product.
- transpose TransposeOperation
- The transpose operation to perform on the linear operator before multiplying.
- rightFactor Vector<Double>
- The right factor of the product.
- result Vector<Double>
- The vector that is to hold the result. May be null.
Return Value
Vector<Double>A vector that is the sum of leftFactor times left and productFactor times the product of this matrix and rightFactor.