Re: [math] speeding up RealMatrix.getEntry

2008-05-25 Thread Phil Steitz
On Sun, May 25, 2008 at 8:27 AM, Luc Maisonobe <[EMAIL PROTECTED]> wrote: > Hello, > > Someone complained recently to me about poor performances of > RealMatrix.multiply(). A quick check showed me that changing the indices > checks in RealMatrix.getEntry() tremendously improved the performances > (

Re: [math] speeding up RealMatrix.getEntry

2008-05-25 Thread simon
On Sun, 2008-05-25 at 17:27 +0200, Luc Maisonobe wrote: > Hello, > > Someone complained recently to me about poor performances of > RealMatrix.multiply(). A quick check showed me that changing the indices > checks in RealMatrix.getEntry() tremendously improved the performances > (about a 3 to 1 r

[math] speeding up RealMatrix.getEntry

2008-05-25 Thread Luc Maisonobe
Hello, Someone complained recently to me about poor performances of RealMatrix.multiply(). A quick check showed me that changing the indices checks in RealMatrix.getEntry() tremendously improved the performances (about a 3 to 1 ratio in a simple case). The current implementation explicitely calls