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