Table of Contents

Method BitwiseOr

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

BitwiseOr<T>(Vector128<T>, Vector128<T>)

Computes the bitwise-or of two vectors (计算两个向量的位或). Mnemonic: rt[i] := left[i] | right[i].

public static Vector128<T> BitwiseOr<T>(Vector128<T> left, Vector128<T> right) where T : struct

Parameters

left Vector128<T>

The vector to bitwise-or with right (将会与right进行位或运算的向量).

right Vector128<T>

The vector to bitwise-or with left (将会与left进行位或运算的向量).

Returns

Vector128<T>

The bitwise-or of left and right (leftright 的位或运算结果).

Type Parameters

T

The vector element type (向量中的元素的类型).

See Also