Vector.Add Scaled<T> Method
Adds two vectors.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A vector whose elements are the sum of the corresponding elements of left and right.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static Vector<T> AddScaled<T>(
Vector<T> left,
T factor,
Vector<T> right
)
Parameters
Type Parameters
- T
Return Value
Vector<T>A vector whose elements are the sum of the corresponding elements of left and right.
Exceptions
Argument | left is null. -or- right is null. |
Dimension | left and right do not have the same length. |