Permutation Matrix.Multiply And Add As Left Factor Core Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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.