Język

Vector64.Count<T>(Vector64<T>, T) Metoda

Definicja

Określa liczbę elementów w wektorze, które są równe danej wartości.

public:
generic <typename T>
 static int Count(System::Runtime::Intrinsics::Vector64<T> vector, T value);
public static int Count<T>(System.Runtime.Intrinsics.Vector64<T> vector, T value);
static member Count : System.Runtime.Intrinsics.Vector64<'T> * 'T -> int
Public Function Count(Of T) (vector As Vector64(Of T), value As T) As Integer

Parametry typu

T

Typ elementów w wektorze.

Parametry

vector
Vector64<T>

Wektor, którego elementy są sprawdzane.

value
T

Wartość do zaewidencjonowania vector

Zwraca

Liczba elementów, które vector są równe value.

Dotyczy