Vector<T>.UnaryNegation(Vector<T>) Opérateur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Annule un vecteur donné.
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)
Paramètres
- value
- Vector<T>
Vecteur à négation.
Retours
Vecteur négation.
Exceptions
.NET 5 et versions ultérieures : le type T n’est pas pris en charge.
Remarques
La UnaryNegation méthode définit l’opération de négation unaire pour Vector<T> les objets.