Vector.Negate<T> Method
Negates a vector.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector whose elements are equal to minus the corresponding element of vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Vector<T> Negate<T>(
Vector<T> vector
)
Parameters
- vector Vector<T>
- A vector.
Type Parameters
- T
Return Value
Vector<T>A vector whose elements are equal to minus the corresponding element of vector.
Exceptions
Argument | vector is null |