17 May
2002
17 May
'02
3:14 p.m.
On Friday 03 May 2002 17:04, Juan Jose Arribas wrote:... Hello, It seems that GiNaC does not like reaffectation of symbols. The following code works better fext::fext (string & funcionc):funcionstr(funcionc),tiempo("t") { //funcionstr = string(funcionc) ; //tiempo = symbol("t") ; funcion = ex(funcionstr,lst(tiempo)) ; } (and it is advantageous since tiempo is initialized only one time) --- Hugo LECLERC L.M.A.R.C. Laboratoire de Mécanique Appliquée R. Chaléat UMR CNRS 6604 UFR Sciences et Techniques 24, chemin de l'Epitaphe 25000 BESANCON - FRANCE Tel : 0663303421 / 0381666721 Fax : 0381666700