Vector<T>.ExclusiveOr(Vector<T>, Vector<T>) 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过对两个向量中的每个元素执行按位 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)>
Public Shared Operator Xor (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
参数
- left
- Vector<T>
第一个向量。
- right
- Vector<T>
第二个向量。
返回
从元素的left位XOr和right中位结果的向量。
例外
.NET 5 及更高版本:不支持类型 T 。
注解
该方法ExclusiveOr定义对象的Vector<T>按XOr位操作。