Vector<T>.ExclusiveOr(Vector<T>, Vector<T>) Оператор

Определение

Возвращает новый вектор, выполняя побитовую XOr операцию для каждого элемента в двух векторах.

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)

Параметры

left
Vector<T>

Первый вектор.

right
Vector<T>

Второй вектор.

Возвращаемое значение

Вектор, который приводит к побитовой части XOr элементов и leftright .

Исключения

.NET 5 и более поздних версий. Тип T не поддерживается.

Комментарии

Метод ExclusiveOr определяет побитовую XOr операцию для Vector<T> объектов.

Применяется к