Vector256.ToScalar<T>(Vector256<T>) Méthode
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.
Convertit le vecteur donné en scalaire contenant la valeur du premier élément.
public:
generic <typename T>
where T : value class[System::Runtime::CompilerServices::Extension]
static T ToScalar(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T ToScalar(System::Runtime::Intrinsics::Vector256<T> vector);
public static T ToScalar<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
public static T ToScalar<T> (this System.Runtime.Intrinsics.Vector256<T> vector);
static member ToScalar : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> 'T (requires 'T : struct)
static member ToScalar : System.Runtime.Intrinsics.Vector256<'T> -> 'T
<Extension()>
Public Function ToScalar(Of T As Structure) (vector As Vector256(Of T)) As T
<Extension()>
Public Function ToScalar(Of T) (vector As Vector256(Of T)) As T
Paramètres de type
- T
Type du vecteur d’entrée.
Paramètres
- vector
- Vector256<T>
Vecteur à partir duquel le premier élément doit être obtenu.
Retours
Scalaire contenant la valeur du premier élément.
Exceptions
Le type de vector
(T
) n’est pas pris en charge.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour