Re: [math] In class RealVector, sparseIterator() is confusing

2012-07-08 Thread Luc Maisonobe
On 09/07/2012 02:39, Gilles Sadowski wrote: > On Sat, Jul 07, 2012 at 02:31:54PM +0200, Sébastien Brisard wrote: >> Hi, >> recent bugs have revealed that the use of sparseIterator() is quite >> delicate. Also, the current Javadoc is confusing, since it says >> "Specialized implementations may choos

Re: [math] In class RealVector, sparseIterator() is confusing

2012-07-08 Thread Gilles Sadowski
On Sat, Jul 07, 2012 at 02:31:54PM +0200, Sébastien Brisard wrote: > Hi, > recent bugs have revealed that the use of sparseIterator() is quite > delicate. Also, the current Javadoc is confusing, since it says > "Specialized implementations may choose to not iterate over all > dimensions, either bec

[math] In class RealVector, sparseIterator() is confusing

2012-07-07 Thread Sébastien Brisard
Hi, recent bugs have revealed that the use of sparseIterator() is quite delicate. Also, the current Javadoc is confusing, since it says "Specialized implementations may choose to not iterate over all dimensions, either because those values are unset, or are equal to defaultValue(), or are small eno