Method BitwiseAnd
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
BitwiseAnd<T>(Vector128<T>, Vector128<T>)
Computes the bitwise-and of two vectors (计算两个向量的位与).
Mnemonic: rt[i] := left[i] & right[i].
Vector128<T> BitwiseAnd<T>(Vector128<T> left, Vector128<T> right) where T : struct
Parameters
leftVector128<T>The vector to bitwise-and with
right(将会与right进行位与运算的向量).rightVector128<T>The vector to bitwise-and with
left(将会与left进行位与运算的向量).
Returns
- Vector128<T>
The bitwise-and of
leftandright(left与right的位与运算结果).
Type Parameters
TThe vector element type (向量中的元素的类型).
- See Also