Adds the 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> AddProduct<T>(
this Vector<T> left,
LinearOperator<T> leftFactor,
Vector<T> rightFactor
)
<ExtensionAttribute>
Public Shared Function AddProduct(Of T) (
left As Vector(Of T),
leftFactor As LinearOperator(Of T),
rightFactor As Vector(Of T)
) As Vector(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Vector<T>^ AddProduct(
Vector<T>^ left,
LinearOperator<T>^ leftFactor,
Vector<T>^ rightFactor
)
[<ExtensionAttribute>]
static member AddProduct :
left : Vector<'T> *
leftFactor : LinearOperator<'T> *
rightFactor : 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. - rightFactor
- Type: Extreme.MathematicsVectorT
The right operand of the multiplication.
Type Parameters
- T
Return Value
Type:
VectorTThe sum of
left with the product of
leftFactor 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