Vector.LessThanAll<T>(Vector<T>, Vector<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示第一個向量中所有元素是否都小於第二個向量中對應的元素。
public:
generic <typename T>
where T : value class static bool LessThanAll(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public:
generic <typename T>
static bool LessThanAll(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static bool LessThanAll<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static bool LessThanAll<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member LessThanAll : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> bool (requires 'T : struct)
static member LessThanAll : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> bool
Public Shared Function LessThanAll(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Boolean
Public Function LessThanAll(Of T) (left As Vector(Of T), right As Vector(Of T)) As Boolean
Public Function LessThanAll(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Boolean
類型參數
- T
向量類型。
T 可以是任何原始數值類型。
參數
- left
- Vector<T>
要比較的第一個向量。
- right
- Vector<T>
要比較的第二個向量。
傳回
true 若 中 left 所有元素皆小於 中 right對應元素;否則, false。