Subtracts a vector from a constant.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> SubtractInto<T>(
T value,
Vector<T> vector,
Vector<T> result
)
Public Shared Function SubtractInto(Of T) (
value As T,
vector As Vector(Of T),
result As Vector(Of T)
) As Vector(Of T)
public:
generic<typename T>
static Vector<T>^ SubtractInto(
T value,
Vector<T>^ vector,
Vector<T>^ result
)
static member SubtractInto :
value : 'T *
vector : Vector<'T> *
result : Vector<'T> -> Vector<'T>
Parameters
- value
- Type: T
The value to subtract
from. - vector
- Type: Extreme.MathematicsVectorT
The vector to subtract. - result
- Type: Extreme.MathematicsVectorT
The vector that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
VectorTA vector whose elements are
equal to the corresponding element of
value minus the corresponding element
of
vector.
Reference