Vector<T>.ExclusiveOr(Vector<T>, Vector<T>) Operator

Definicja

Zwraca nowy wektor, wykonując bitową XOr operację na każdym z elementów w dwóch wektorach.

public:
 static System::Numerics::Vector<T> operator ^(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> operator ^ (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member ( ^^^ ) : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
static member ( ^^^ ) : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator Xor (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

Parametry

left
Vector<T>

Pierwszy wektor.

right
Vector<T>

Drugi wektor.

Zwraca

Wektor, który wynika z bitowego ruchu elementów XOr w elementach left i right.

Wyjątki

.NET 5 i nowsze: typ T nie jest obsługiwany.

Uwagi

Metoda ExclusiveOr definiuje operację bitową XOr dla Vector<T> obiektów.

Dotyczy