Previous Up Next

6.40.22  Number of elements smaller than a given value: count_inf

The count_inf command counts the number of elements of a list strictly less than a given value.


Example.
Input:

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

Output:

3

Previous Up Next