[GiNaC-list] spcializing print function

nomad gkmohan at gmail.com
Sat Oct 4 09:53:21 CEST 2008


Hello,

I am trying to define a new algebraic class the easy way. The documentation
is a bit confusing in this regard. It mentions

typedef structure<sprod_s> sprod;

and then proceeds with

void sprod::print(const print_context & c, unsigned level) const
{
   ...
}

How is this possible as structure<> already defines print() member function?

Can someone give more specific details?

thanks,
Krishna.

-- 
View this message in context: http://www.nabble.com/spcializing-print-function-tp19809899p19809899.html
Sent from the Ginac - General mailing list archive at Nabble.com.



More information about the GiNaC-list mailing list