next up previous contents index
suivant: Number of elements smaller monter: Lists and vectors précédent: Sum of list (or   Table des matières   Index


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



giac documentation written by Renée De Graeve and Bernard Parisse