Vector.Add Scaled Product Into<T> Method
Adds the scaled product of a matrix and a vector to a vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The sum of left with factor times the product of leftFactor transformed as specified by operation with rightFactor.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static Vector<T> AddScaledProductInto<T>(
this Vector<T> left,
T factor,
LinearOperator<T> leftFactor,
TransposeOperation operation,
Vector<T> rightFactor,
Vector<T> result
)
Parameters
- left Vector<T>
- The left operand of the addition.
- factor T
- The scale factor for the matrix-vector product.
- leftFactor LinearOperator<T>
- A matrix that acts as the left operand of the multiplication.
- operation TransposeOperation
- The operation to be performed on leftFactor before multiplying.
- rightFactor Vector<T>
- The right operand of the multiplication.
- result Vector<T>
- The vector that is to hold the result. May be null.
Type Parameters
- T
Return Value
Vector<T>The sum of left with factor times the product of leftFactor transformed as specified by operation with rightFactor.