RE: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-08-02 Thread Tanguy Yannick
> >> For very big matrix (ie : beyond 500 or 1000 rows/columns), the >> computation is faster if you transpose the second matrix and then >> multiply. The two inner loops are inversed and it allows a significant >> gain for very big matrix (about 40% compared to Commons Math for >> 1000x1000

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-08-01 Thread luc . maisonobe
- Mail original - > > > -Message d'origine- > De : Phil Steitz [mailto:phil.ste...@gmail.com] > Envoyé : jeudi 28 juillet 2011 18:32 > À : Commons Developers List > Objet : Re: [math] Adding a new class to handle Matrix with 3 > columns/rows > &

RE: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-08-01 Thread Tanguy Yannick
-Message d'origine- De : Phil Steitz [mailto:phil.ste...@gmail.com] Envoyé : jeudi 28 juillet 2011 18:32 À : Commons Developers List Objet : Re: [math] Adding a new class to handle Matrix with 3 columns/rows >> The key point here is that the matrix from linear pack

RE: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-28 Thread Tanguy Yannick
-Message d'origine- De : Phil Steitz [mailto:phil.ste...@gmail.com] Envoyé : mercredi 27 juillet 2011 18:50 À : Commons Developers List Objet : Re: [math] Adding a new class to handle Matrix with 3 columns/rows >On 7/27/11 12:01 AM, Luc Maisonobe wrote: >> Le 26/07/2011

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-28 Thread Greg Sterijevski
All, A while back I made a proposal for a SymmetricMatrix class. One of the problems I encountered is that there is just "too much" in the Matrix interfaces and abstract classes. In my opinion, pruning the interface would go a long way to make more of this stuff fit more easily. Since implementing

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-28 Thread Phil Steitz
On 7/28/11 9:23 AM, Tanguy Yannick wrote: > On 7/27/11 7:30 AM, Gilles Sadowski wrote: >>> Hello. >>> >> In project SIRIUS (CNES), we have some need for a Matrix33 (3 >> columns, >> 3 >> rows) object. It is very common to use this kind of matrix to > apply >> rotation to a pos

RE: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-28 Thread Tanguy Yannick
On 7/27/11 7:30 AM, Gilles Sadowski wrote: >> Hello. >> > In project SIRIUS (CNES), we have some need for a Matrix33 (3 > columns, > 3 > rows) object. It is very common to use this kind of matrix to apply > rotation to a position vector (vector3D). > > The incompatibil

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-27 Thread Phil Steitz
On 7/27/11 12:01 AM, Luc Maisonobe wrote: > Le 26/07/2011 17:59, Tanguy Yannick a écrit : >> Hello, >> >> In project SIRIUS (CNES), we have some need for a Matrix33 (3 >> columns, 3 >> rows) object. It is very common to use this kind of matrix to apply >> rotation to a position vector (vector3D). >

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-27 Thread Phil Steitz
On 7/27/11 7:30 AM, Gilles Sadowski wrote: > Hello. > In project SIRIUS (CNES), we have some need for a Matrix33 (3 columns, 3 rows) object. It is very common to use this kind of matrix to apply rotation to a position vector (vector3D). The incompatibility between th

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-27 Thread Gilles Sadowski
Hello. > >> In project SIRIUS (CNES), we have some need for a Matrix33 (3 columns, > >> 3 > >> rows) object. It is very common to use this kind of matrix to apply > >> rotation to a position vector (vector3D). > >> > >> The incompatibility between the Vector3D of geometry package and the > >> m

RE: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-27 Thread Tanguy Yannick
Hello Luc and Ted, Thanks for your comments, see my answers below. -Message d'origine- De : Luc Maisonobe [mailto:luc.maison...@free.fr] Envoyé : mercredi 27 juillet 2011 09:02 À : Commons Developers List Objet : Re: [math] Adding a new class to handle Matrix with 3 columns/rows

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-27 Thread Ted Dunning
Constructors? Can't these new matrices implement the current matrix interface? On Wed, Jul 27, 2011 at 12:01 AM, Luc Maisonobe wrote: > We will also propose some new constructors to build gaps between this >> new matrix and the matrix of linear package. >> > > Yes, having a way to change from on

Re: [math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-27 Thread Luc Maisonobe
Le 26/07/2011 17:59, Tanguy Yannick a écrit : Hello, In project SIRIUS (CNES), we have some need for a Matrix33 (3 columns, 3 rows) object. It is very common to use this kind of matrix to apply rotation to a position vector (vector3D). The incompatibility between the Vector3D of geometry packag

[math] Adding a new class to handle Matrix with 3 columns/rows

2011-07-26 Thread Tanguy Yannick
Hello, In project SIRIUS (CNES), we have some need for a Matrix33 (3 columns, 3 rows) object. It is very common to use this kind of matrix to apply rotation to a position vector (vector3D). The incompatibility between the Vector3D of geometry package and the matrix/vectors of the linear package