Sounds good. Which should be the default (returned from iterator())? non-zero?


On Tue, Jun 23, 2009 at 6:53 PM, Ted Dunning<ted.dunn...@gmail.com> wrote:
> I disagree.
>
> There are two common use cases: iterateAll and iterateNonZero
>
> One example of where iterateAll is different is where I want to get sum_i
> |x_i - z|  (as in L_1 clustering).  I can't iterate over just non-zero
> elements of x_i unless z is zero (which it is not, in general).

Reply via email to