Vector<T>.BitwiseAnd(Vector<T>, Vector<T>) 运算符

定义

通过在两个向量中的每个元素上执行按位 And 运算,返回一个新向量。

public:
 static System::Numerics::Vector<T> operator &(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> operator & (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member ( &&& ) : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>
static member ( &&& ) : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator And (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

参数

left
Vector<T>

第一个向量。

right
Vector<T>

第二个向量。

返回

leftright 的按位 And 得到的向量。

例外

.NET 5 及更高版本:不支持类型 T

注解

方法 BitwiseAnd 定义对象的按位 And 运算 Vector<T>

适用于