[Maxima] Operator search and replace
ryanlists at gmail.com
Mon Jan 9 21:23:45 CST 2006
I think subst will be perfect. I will test it here in a bit.
On 1/9/06, Robert Dodier <robert.dodier at gmail.com> wrote:
> Hello Ryan,
> > So, I need to take the output of my maxima script and run a search and
> > replace on the expression to change all sinh to zsinh and cosh to
> > zcosh before I call the fortran function.
> Is subst (zsinh, sinh, expr) enough?
> (Likewise subst (zcosh, cosh, expr).)
> expr : F(sinh(x) + exp(sinh(y)));
> subst (zsinh, sinh, expr); => F(zsinh(x) + exp(zsinh(y)))
> Maybe I'm misunderstanding what you want to accomplish.
> Hope this helps,
> Robert Dodier
More information about the Maxima