Subtracts two vectors.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> Subtract<T>(
Vector<T> left,
Vector<T> right
)
Public Shared Function Subtract(Of T) (
left As Vector(Of T),
right As Vector(Of T)
) As Vector(Of T)
public:
generic<typename T>
static Vector<T>^ Subtract(
Vector<T>^ left,
Vector<T>^ right
)
static member Subtract :
left : Vector<'T> *
right : Vector<'T> -> Vector<'T>
Parameters
- left
- Type: Extreme.MathematicsVectorT
The vector to subtract
from. - right
- Type: Extreme.MathematicsVectorT
The vector to subtract.
Type Parameters
- T
Return Value
Type:
VectorTA vector whose elements are
equal to the corresponding element of
left minus the corresponding element
of
right.
Reference