Previous Up Next

5.43.30  Number of elements equal to a given value: count_eq

count_eq takes as argument: a real and a real list (or matrix).
count_eq returns the number of elements of the list (or matrix) which are equal to the first argument.
Input:

count_eq(12,[2,12,45,3,7,78])

Output:

1

Previous Up Next