2 Jun
2010
2 Jun
'10
4:08 p.m.
On Wed, 02 Jun 2010 15:16:18 +0200, Felipe Bordeu <felipe.bordeu@ec-nantes.fr> said: FB> now my problem is that I what to make the substitution of A to FB> something else, like x^2:
FB> cout << "dA/dx with A=x^2 is : " << dAdx.subs(A==pow(x,2)) << FB> endl; (I know that the previous line is not correct) FB> to get something like : "2*x" I think, you need to rewrite method subs() for your class accordingly. Best wishes, Vladimir -- Vladimir V. Kisil email: kisilv@maths.leeds.ac.uk -- www: http://www.maths.leeds.ac.uk/~kisilv/