Skip to content
Prev 314633 / 398502 Next

non-consing count

What is the concern if it works?  you can also do

sum(x==0)

Is performance a concern?  How often are you going to do it and what
other parts of your script also take longer?  Why are you concerned
about allocating/discarding two vectors?
On Fri, Jan 4, 2013 at 10:30 AM, Sam Steingold <sds at gnu.org> wrote: