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>

適用於