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

Definición

Convierte en negativo un vector concreto.

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)>
Public Shared Operator - (value As Vector(Of T)) As Vector(Of T)

Parámetros

value
Vector<T>

Vector que se va a convertir en negativo.

Devoluciones

Vector<T>

Vector convertido en negativo.

Excepciones

.NET 5 y versiones posteriores: no se admite el tipo T .

Comentarios

El UnaryNegation método define la operación de negación unaria para Vector<T> los objetos .

Se aplica a