Aracılığıyla paylaş


Vector512.ConditionalSelect<T> Yöntem

Tanım

İki vektörden bit düzeyinde koşullu olarak bir değer seçer.

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector512<T> ConditionalSelect(System::Runtime::Intrinsics::Vector512<T> condition, System::Runtime::Intrinsics::Vector512<T> left, System::Runtime::Intrinsics::Vector512<T> right);
public static System.Runtime.Intrinsics.Vector512<T> ConditionalSelect<T> (System.Runtime.Intrinsics.Vector512<T> condition, System.Runtime.Intrinsics.Vector512<T> left, System.Runtime.Intrinsics.Vector512<T> right);
static member ConditionalSelect : System.Runtime.Intrinsics.Vector512<'T> * System.Runtime.Intrinsics.Vector512<'T> * System.Runtime.Intrinsics.Vector512<'T> -> System.Runtime.Intrinsics.Vector512<'T>
Public Function ConditionalSelect(Of T) (condition As Vector512(Of T), left As Vector512(Of T), right As Vector512(Of T)) As Vector512(Of T)

Tür Parametreleri

T

Vektördeki öğelerin türü.

Parametreler

condition
Vector512<T>

veya rightiçinden left bir değer seçmek için kullanılan maske.

left
Vector512<T>

içinde karşılık gelen bit condition bir olduğunda seçilen vektör.

right
Vector512<T>

içinde karşılık gelen bit condition sıfır olduğunda seçilen vektör.

Döndürülenler

Bitleri veya leftright değerine conditiongöre gelen bir vektör.

Özel durumlar

, leftve right (T) türü conditiondesteklenmez.

Şunlara uygulanır