15 Jul
2008
15 Jul
'08
2:54 p.m.
Dear Jens, On Tue, Jul 15, 2008 at 01:16:00PM +0200, Jens Vollinga wrote:
What about associative arrays? I.e.
that's a very good idea. But I would wrap them in some kind of GiNaC class then like lst does with STL::list.
I don't quite understand why it's necessary to wrap every data type into a GiNaC class (the same applies to lst, actually). Such wrapping results in a nonsense like {x, y} + {x, y} 2*{x, y} and doesn't seem to do anything useful.
But from your example (using exvector and the boost lib) I get the impression you don't like that kind of wrapping ... ?
Exactly. I think "everything is an expression" is a bad idea. Best regards, Alexei -- All science is either physics or stamp collecting.