Method AndNot
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
AndNot<T>(Vector256<T>, Vector256<T>)
Computes the bitwise-and of a given vector and the ones complement of another vector (计算一个给定的向量和另一个向量反码的位与).
Mnemonic: rt[i] := left[i] & ~right[i].
Vector256<T> AndNot<T>(Vector256<T> left, Vector256<T> right) where T : struct
Parameters
leftVector256<T>The vector to bitwise-and with
right(将会与right进行位与运算的向量).rightVector256<T>The vector to that is ones-complemented before being bitwise-and with
left(将会与left进行位与运算, 并使用反码的向量).
Returns
- Vector256<T>
The bitwise-and of
leftand the ones-complement ofright(left与right反码 的位与运算结果).
Type Parameters
TThe vector element type (向量中的元素的类型).
- See Also