Adds the scaled product of a matrix and a vector to a vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> AddProductInto<T>(
this Vector<T> left,
LinearOperator<T> leftFactor,
TransposeOperation operation,
Vector<T> rightFactor,
Vector<T> result
)
<ExtensionAttribute>
Public Shared Function AddProductInto(Of T) (
left As Vector(Of T),
leftFactor As LinearOperator(Of T),
operation As TransposeOperation,
rightFactor As Vector(Of T),
result As Vector(Of T)
) As Vector(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Vector<T>^ AddProductInto(
Vector<T>^ left,
LinearOperator<T>^ leftFactor,
TransposeOperation operation,
Vector<T>^ rightFactor,
Vector<T>^ result
)
[<ExtensionAttribute>]
static member AddProductInto :
left : Vector<'T> *
leftFactor : LinearOperator<'T> *
operation : TransposeOperation *
rightFactor : Vector<'T> *
result : Vector<'T> -> Vector<'T>
Parameters
- left
- Type: Extreme.MathematicsVectorT
The left operand of the addition. - leftFactor
- Type: Extreme.Mathematics.LinearAlgebraLinearOperatorT
A matrix that acts as the left operand of the multiplication. - operation
- Type: Extreme.MathematicsTransposeOperation
The operation to be performed on leftFactor before multiplying. - rightFactor
- Type: Extreme.MathematicsVectorT
The right operand of the multiplication. - result
- Type: Extreme.MathematicsVectorT
The vector that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
VectorTThe sum of
left and the
product of
leftFactor transformed as specified by
operation
with
rightFactor.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
VectorT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference