Negates a vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Vector<T> operator -(
Vector<T> vector
)
Public Shared Operator - (
vector As Vector(Of T)
) As Vector(Of T)
public:
static Vector<T>^ operator -(
Vector<T>^ vector
)
static let inline (-)
vector : Vector<'T> : Vector<'T>
Parameters
- vector
- Type: Extreme.MathematicsVectorT
A vector.
Return Value
Type:
VectorTA new vector whose elements
are equal to minus the corresponding element of
vector.
Reference