Vector<T>.UnaryNegation Operator

Negates a vector.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Vector<T> operator -(
	Vector<T> vector
)

Parameters

vector  Vector<T>
A vector.

Return Value

Vector<T>
A new vector whose elements are equal to minus the corresponding element of vector.

Exceptions

ArgumentNullExceptionvector is null

See Also