Operator search and replace



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).)

e.g.
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