I have one idea :
sum(int(Sparsevec.==val))
is faster way ?
Paul

W dniu czwartek, 21 sierpnia 2014 16:02:14 UTC+2 użytkownik paul analyst 
napisał:
>
> In a vector or a table (sparse) I have a rare value 0, 1, 2, 3, 5.12.
> How to quickly count the frequencies of individual instances of values?
> Paul 
>

Reply via email to