[GiNaC-list] Problem in adding functions

Nikhil Bansal bansalnikhil at gmail.com
Tue Aug 30 17:54:36 CEST 2005


I was trying to add some functions (e.g. binary xor) to the Ginac
expressions as it is done for functions like cos. The library is
accepting those functions standalone but not using them with any

e.g. it is giving me expressions like XOR(e1, e2) but 
not like c*XOR(e1, e2) where c is a constant. 

Could someone point me to the place in library where it scales the
functions by multiplying with some constants.


More information about the GiNaC-list mailing list