语言

Vector512.All<T>(Vector512<T>, T) 方法

定义

确定向量的所有元素是否都等于给定值。

public:
generic <typename T>
 static bool All(System::Runtime::Intrinsics::Vector512<T> vector, T value);
public static bool All<T>(System.Runtime.Intrinsics.Vector512<T> vector, T value);
static member All : System.Runtime.Intrinsics.Vector512<'T> * 'T -> bool
Public Function All(Of T) (vector As Vector512(Of T), value As T) As Boolean

类型参数

T

向量中的元素的类型。

参数

vector
Vector512<T>

要检查其元素的向量。

value
T

要签入的值 vector

返回

如果所有元素 都等于 ,则为 。

适用于