[GiNaC-list] simplify_indexed and inheritance

mdias at ift.unesp.br mdias at ift.unesp.br
Tue Mar 15 22:54:01 CET 2005


Hi guys,


I have a simple question. I would like to construct a derived class of indexed
type, folowing the final part of tutorial. How can I inherit simplify_indexed()?
For example:
class Myclass : public indexed{
....
}
Myclass(ex b, idx a), indexed(b,a)
{
...
}
 Myclass::simplify_indexed()
{
I don't know!!!
}

Thanks in advance,


Marco


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the GiNaC-list mailing list