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