can't subs(lst) on a function

Hugo LECLERC hugo.leclerc at etudes.univ-fcomte.fr
Sat May 18 19:18:10 CEST 2002


Hello Chris,

  The solution is to cast the function to a ginac ex :
	cout << ex(sin(x*y+x)).subs(lst(x==-2,y==4)) << endl;


  Greetings.



More information about the GiNaC-devel mailing list