Sdílet prostřednictvím


Vector64.ConditionalSelect<T> Metoda

Definice

Podmíněně vybere hodnotu ze dvou vektorů na bitové bázi.

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector64<T> ConditionalSelect(System::Runtime::Intrinsics::Vector64<T> condition, System::Runtime::Intrinsics::Vector64<T> left, System::Runtime::Intrinsics::Vector64<T> right);
public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector64<T> ConditionalSelect(System::Runtime::Intrinsics::Vector64<T> condition, System::Runtime::Intrinsics::Vector64<T> left, System::Runtime::Intrinsics::Vector64<T> right);
public static System.Runtime.Intrinsics.Vector64<T> ConditionalSelect<T> (System.Runtime.Intrinsics.Vector64<T> condition, System.Runtime.Intrinsics.Vector64<T> left, System.Runtime.Intrinsics.Vector64<T> right) where T : struct;
public static System.Runtime.Intrinsics.Vector64<T> ConditionalSelect<T> (System.Runtime.Intrinsics.Vector64<T> condition, System.Runtime.Intrinsics.Vector64<T> left, System.Runtime.Intrinsics.Vector64<T> right);
static member ConditionalSelect : System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> (requires 'T : struct)
static member ConditionalSelect : System.Runtime.Intrinsics.Vector64<'T> * System.Runtime.Intrinsics.Vector64<'T> * System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector64<'T>
Public Function ConditionalSelect(Of T As Structure) (condition As Vector64(Of T), left As Vector64(Of T), right As Vector64(Of T)) As Vector64(Of T)
Public Function ConditionalSelect(Of T) (condition As Vector64(Of T), left As Vector64(Of T), right As Vector64(Of T)) As Vector64(Of T)

Parametry typu

T

Typ prvků ve vektoru.

Parametry

condition
Vector64<T>

Maska, která se používá k výběru hodnoty z left nebo right.

left
Vector64<T>

Vektor, který je vybrán, pokud odpovídající bit v condition je jeden.

right
Vector64<T>

Vektor, který je vybrán, pokud odpovídající bit in condition je nula.

Návraty

Vektor, jehož bity pocházejí z left hodnoty nebo right založené na hodnotě condition.

Výjimky

Typ condition, lefta right (T) se nepodporuje.

Platí pro