Vector.Negate<T>(Vector<T>) Méthode
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.
Retourne un nouveau vecteur dont les éléments sont l'opposé de l'élément correspondant dans le vecteur spécifié.
public:
generic <typename T>
where T : value class static System::Numerics::Vector<T> Negate(System::Numerics::Vector<T> value);
public:
generic <typename T>
static System::Numerics::Vector<T> Negate(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> Negate<T>(System.Numerics.Vector<T> value) where T : struct;
public static System.Numerics.Vector<T> Negate<T>(System.Numerics.Vector<T> value);
static member Negate : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Negate : System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Function Negate(Of T As Structure) (value As Vector(Of T)) As Vector(Of T)
Public Function Negate(Of T) (value As Vector(Of T)) As Vector(Of T)
Public Function Negate(Of T As Structure) (value As Vector(Of T)) As Vector(Of T)
- T
Type de vecteur.
T
peut être tout type numérique primitif.
- value
- Vector<T>
Vecteur source.
Vecteur dont le signe a été inversé.
Produit | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :