Vector<T>.Addition Operator
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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. |