Vector<T>.Addition Operator
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Addition( | Adds a vector and a constant. |
Addition( | Adds a vector and a constant. |
Addition( | Adds two vectors. |
Addition(T, Vector<T>) Operator
Adds a vector and a constant.
public static Vector<T> operator +(
T value,
Vector<T> vector
)
Parameters
Return Value
Vector<T>A vector whose elements are the sum of the corresponding elements of vector and value.
Exceptions
Argument | vector is null. |
Addition(Vector<T>, T) Operator
Adds a vector and a constant.
public static Vector<T> operator +(
Vector<T> vector,
T value
)
Parameters
Return Value
Vector<T>A vector whose elements are the sum of the corresponding elements of vector and value.
Exceptions
Argument | vector is null. |
Addition(Vector<T>, Vector<T>) Operator
Adds two vectors.
public static Vector<T> operator +(
Vector<T> left,
Vector<T> right
)
Parameters
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. |