Vector.EqualsAll<T>(Vector<T>, Vector<T>) 方法

定義

傳回值,指出指定向量的每對元素是否相等。

public static bool EqualsAll<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static bool EqualsAll<T>(System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);

類型參數

T

向量類型。 T 可以是任何基本數字型別。

參數

left
Vector<T>

要比較的第一個向量。

right
Vector<T>

要比較的第二個向量。

傳回

如果 leftright 的所有元素都相等,即為 true;否則為 false

適用於

產品 版本
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0