[math] Problems with sparse implementations of RealVector

2012-06-17 Thread Sébastien Brisard
Dear all, in this thread, http://markmail.org/thread/hhvm6wv3d3uhkwqs we had an interesting discussion on a bug which was revealed by abstract unit tests on all implementations of RealVector. It turns out that the bug is more far-reaching than we initially thought, and I would like to make sure th

Re: [math] Problems with sparse implementations of RealVector

2012-06-18 Thread Luc Maisonobe
Hi Sébastien, Le 18/06/2012 08:11, Sébastien Brisard a écrit : > Dear all, > > in this thread, > http://markmail.org/thread/hhvm6wv3d3uhkwqs > we had an interesting discussion on a bug which was revealed by > abstract unit tests on all implementations of RealVector. It turns out > that the bug is

Re: [math] Problems with sparse implementations of RealVector

2012-06-19 Thread Bill Barker
-Original Message- From: Luc Maisonobe Sent: Monday, June 18, 2012 1:40 AM To: Commons Developers List Subject: Re: [math] Problems with sparse implementations of RealVector Hi Sébastien, Le 18/06/2012 08:11, Sébastien Brisard a écrit : Dear all, in this thread, http

Re: [math] Problems with sparse implementations of RealVector

2012-06-19 Thread Bill Barker
ne 17, 2012 11:11 PM To: Commons Developers List Subject: [math] Problems with sparse implementations of RealVector Dear all, in this thread, http://markmail.org/thread/hhvm6wv3d3uhkwqs we had an interesting discussion on a bug which was revealed by abstract unit tests on all implementations of RealV

Re: [math] Problems with sparse implementations of RealVector

2012-06-19 Thread Sébastien Brisard
Hi Bill, 2012/6/19 Bill Barker : > > > -Original Message- From: Luc Maisonobe > Sent: Monday, June 18, 2012 1:40 AM > To: Commons Developers List > Subject: Re: [math] Problems with sparse implementations of RealVector > > >> Hi Sébastien, >> >>

Re: [math] Problems with sparse implementations of RealVector

2012-06-19 Thread Sébastien Brisard
Hi Bill, > > And, it is much worse than that.  Pretty much nobody cares about ebe, but > dotProduct and outerProduct also assume that 0*NaN = 0 and 0*+-Infinity = 0. > e.g.: >  RealVector a = new OpenMapRealVector(10); >  RealVector b = new OpenMapRealVector(10); >  a.setEntry(1, 1.0); >