Distributed Vector<T>.Add Scaled As Right Core Method
Adds two vectors.
Definition
Namespace: Extreme.Mathematics.Distributed
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector whose elements are the sum of the corresponding elements of left and factor times the corresponding elements of this vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected override Vector<T> AddScaledAsRightCore(
Vector<T> left,
T factor,
Vector<T> result
)
Parameters
- left Vector<T>
- The left operand.
- factor T
- The scale factor for this vector.
- result Vector<T>
- The vector that is to hold the result. May be null.
Return Value
Vector<T>A vector whose elements are the sum of the corresponding elements of left and factor times the corresponding elements of this vector.
Exceptions
Dimension | This vector and left do not have the same length. |