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