Vector<T>.ExclusiveOr(Vector<T>, Vector<T>) 演算子

定義

2 つのベクトルの各要素に対してビット単位の 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>

2 番目のベクトル。

戻り値

leftright の要素のビット単位の XOr 演算を実行した結果のベクトル。

例外

.NET 5 以降: 型 T はサポートされていません。

注釈

メソッドは ExclusiveOr 、オブジェクトのビットごとの XOr 演算を Vector<T> 定義します。

適用対象