Subtracts a constant from a vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> operator -(
Vector<T> vector,
T value
)
Public Shared Operator - (
vector As Vector(Of T),
value As T
) As Vector(Of T)
public:
static Vector<T>^ operator -(
Vector<T>^ vector,
T value
)
static let inline (-)
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 difference of the corresponding elements of
vector and
value.
Reference