subst '^=.^' '*=.*'

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 519
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

subst '^=.^' '*=.*'

Message par compsystems » sam. nov. 03, 2018 12:22 pm

Good morning, Mr. Bernard, excuse me for expressing myself in a very technical way, I hope not to disturb you and I hope not to take too much time, my proposal is to show some ideas, suggestions, report problems, improve your Excellent GIAC product and your XCAS user interface

Yesterday programming, I found myself with the following difficulty, I want to convert a polynomial expression, where the operators * and ^ are transformed into. *,. ^

and try the following but do not interpret it, which is an alternative

subst(x^3-3*x^2-9*x+2,['^=.^','*=.*'])

Thank you

Greetings from Medellin Colombia

Jaimeza

parisse
Messages : 5112
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: subst '^=.^' '*=.*'

Message par parisse » lun. nov. 05, 2018 11:59 am

Multiple substitution syntax is subst(expr,[object1,object2,...],[replace1,replace2,...])
'.*' and '.^' are currently not parsable

Répondre