Vector<T>.Unary Negation Operator
Negates a vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A new vector whose elements are equal to minus the corresponding element of vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Vector<T> operator -(
Vector<T> vector
)
Parameters
Return Value
Vector<T>A new vector whose elements are equal to minus the corresponding element of vector.
Exceptions
Argument | vector is null. |