Previous Up Next

6.45.15  Counting the elements greater than a given value: count_sup

The count_sup command counts the number of elements in a matrix greater than a given value.


Example.
Input:

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

Output:

2

Previous Up Next