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
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); b.setEntry(2,

Re: [math] Problems with sparse implementations of RealVector

2012-06-19 Thread Sébastien Brisard
Hi Bill, 2012/6/19 Bill Barker billwbar...@verizon.net: -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

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);  

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 more