Vector256.As<T,U>(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.
Réinterpret un Vector256<T> type TFrom en tant que nouveau Vector256<T> de type TTo.
public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector256<TTo> As(System::Runtime::Intrinsics::Vector256<TFrom> vector);
public:
generic <typename T, typename U>
where T : value class where U : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector256<U> As(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename TFrom, typename TTo>
where TFrom : value class where TTo : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector256<TTo> As(System::Runtime::Intrinsics::Vector256<TFrom> vector);
public static System.Runtime.Intrinsics.Vector256<TTo> As<TFrom,TTo>(this System.Runtime.Intrinsics.Vector256<TFrom> vector);
public static System.Runtime.Intrinsics.Vector256<U> As<T,U>(this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct where U : struct;
public static System.Runtime.Intrinsics.Vector256<TTo> As<TFrom,TTo>(this System.Runtime.Intrinsics.Vector256<TFrom> vector) where TFrom : struct where TTo : struct;
static member As : System.Runtime.Intrinsics.Vector256<'From> -> System.Runtime.Intrinsics.Vector256<'o>
static member As : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<'U (requires 'U : struct)> (requires 'T : struct and 'U : struct)
static member As : System.Runtime.Intrinsics.Vector256<'From (requires 'From : struct)> -> System.Runtime.Intrinsics.Vector256<'o (requires 'o : struct)> (requires 'From : struct and 'o : struct)
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector256(Of TFrom)) As Vector256(Of TTo)
<Extension()>
Public Function As(Of T As Structure, U As Structure) (vector As Vector256(Of T)) As Vector256(Of U)
<Extension()>
Public Function As(Of TFrom As Structure, TTo As Structure) (vector As Vector256(Of TFrom)) As Vector256(Of TTo)
Paramètres de type
- TFrom T
Type du vecteur d’entrée.
Type du vecteur d’entrée.
- TTo U
Type selon lequel le vecteur vector doit être réinterprété.
Type selon lequel le vecteur vector doit être réinterprété.
Paramètres
- vector
- Vector256<T>
Vecteur à réinterpréter.
Retours
vector réinterprété en tant que Vector256<T> type TTo.
Exceptions
Le type (vectorTFrom) ou le type de la cible (TTo) n’est pas pris en charge.