語言

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>

第二個向量。

傳回

由 和 Andleft的位right元運算所產生的向量。

例外狀況

.NET 5 及以後版本:不支援型別 T 。

備註

此BitwiseAnd方法定義了物件的And位元運算Vector<T>。

適用於