Vector.Negate<T> Method

Negates a vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
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

ArgumentNullException

vector is null.

See Also