Vector<T>.Add Scaled As Right Core Method
Adds two vectors.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A vector whose elements are the sum of the corresponding elements of left and factor times the corresponding elements of this vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
protected virtual 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. |