Adds a vector and a constant.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> Add(
Vector<T> vector,
T value
)
Public Shared Function Add (
vector As Vector(Of T),
value As T
) As Vector(Of T)
public:
static Vector<T>^ Add(
Vector<T>^ vector,
T value
)
static member Add :
vector : Vector<'T> *
value : 'T -> Vector<'T>
Parameters
- vector
- Type: Extreme.MathematicsVectorT
A vector. - value
- Type: T
The constant.
Return Value
Type:
VectorTA vector whose elements are
the sum of the corresponding elements of
vector and
value.
Reference