Condividi tramite


Vector64.ConditionalSelect<T> Metodo

Definizione

Seleziona in modo condizionale un valore da due vettori in modo bit per bit.

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)

Parametri di tipo

T

Tipo degli elementi nel vettore.

Parametri

condition
Vector64<T>

Maschera usata per selezionare un valore da left o right.

left
Vector64<T>

Vettore selezionato quando il bit corrispondente in condition è uno.

right
Vector64<T>

Vettore selezionato quando il bit corrispondente in condition è zero.

Restituisce

Vettore i cui bit provengono da left o right in base al valore di condition.

Eccezioni

Il tipo di condition, lefte right (T) non è supportato.

Si applica a