[GiNaC-devel] removing the evil

Alexei Sheplyakov varg at theor.jinr.ru
Tue Jul 15 14:54:15 CEST 2008


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-devel/attachments/20080715/22f8a328/attachment.sig 


More information about the GiNaC-devel mailing list