Vector<T>.Add Scaled As Left Core Method
Adds two vectors.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector whose elements are the sum of the corresponding elements of this vector and factor times right.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
protected virtual Vector<T> AddScaledAsLeftCore(
T factor,
Vector<T> right,
Vector<T> result
)
Parameters
- factor T
- The scale factor for right.
- right Vector<T>
- The right operand.
- 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 this vector and factor times right.
Exceptions
Dimension | This vector and right do not have the same length. |