[Maxima] question / comments about sublis
willisb at unk.edu
Tue Feb 3 06:45:07 CST 2009
I modified simp-%if to delay simplification of the final two
arguments until after the first argument is simplified. Since sublis
simplifies after all subs are made and subst simplifies
along the way, we get:
(%i7) f : %if(x < 1, 5, log(x));
log(0) has been generated.
I'm a sublis fan. Using GCL, my ten line sublis function
is slower than the Maxima version.
More information about the Maxima