Vector<T>.UnaryNegation(Vector<T>) Operator

Definicja

Neguje dany wektor.

public:
 static System::Numerics::Vector<T> operator -(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> operator - (System.Numerics.Vector<T> value);
static member ( ~- ) : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
static member ( ~- ) : System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator - (value As Vector(Of T)) As Vector(Of T)

Parametry

value
Vector<T>

Wektor do negacji.

Zwraca

Negowany wektor.

Wyjątki

.NET 5 i nowsze: typ T nie jest obsługiwany.

Uwagi

Metoda UnaryNegation definiuje jednoargumentową operację negacji dla Vector<T> obiektów.

Dotyczy