Javi,
you should look at boost array and multi_array.
Dina
On Wed, Nov 12, 2008 at 4:43 PM, Javier Ángel Velázquez Muriel < javi@salilab.org> wrote:
> Keren, the more I see your Matrix3D class the more realize that my > code is going to serve a different purpose. The matrix you define in > Matrix3D is a 3x3x3, but what I want is a NxLxM, something like the > map that you had for EMBed, and in my case, what I understood by > matrix 2D was a NxM, not a 2x2, for example. Vectors here don't apply, > but still is going to be very helpful to have a templated vector. > Again, I am building the templated array. > Javi > > 2008/11/12 Keren Lasker kerenl@salilab.org: > > Javi, > > > > For your 2D geometry classes (Vector2D, Matrix2D ...) - why not just > using > > the corresponding 3D classes and keeping Z fixed? > > I think it is not too bad in performance and will save you a lot of > > coding/debugging time. > > > > Keren. > > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev >