Vector<T>.Add Method
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
Add( |
Adds another vector to this vector.
Obsolete. |
Add( | Adds a vector and a constant. |
Add( | Adds a vector and a constant. |
Add(Vector<T>)
Adds another vector to this vector.
[ObsoleteAttribute("Use the AddInPlace method instead.")]
public Vector<T> Add(
Vector<T> vector
)
Parameters
Return Value
Vector<T>A reference to this instance.
Exceptions
Argument | vector is null |
Dimension | The length of vector does not equal the length of this instance. |
Add(T, Vector<T>)
Adds a vector and a constant.
public static Vector<T> Add(
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 |
Add(Vector<T>, T)
Adds a vector and a constant.
public static Vector<T> Add(
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 |