the argument simp:false



On Tue, Sep 1, 2009 at 4:24 PM, Alejandro Jakubi <jakubi at df.uba.ar> wrote:

> However, at least in the case of 'simp', I do not find it working that way:
>
> (%i2) simp : false$
> (%i3) ev(1 + 1, simp = true);
> (%o3)            2
> (%i4) simp : true$
> (%i5) ev(1 + 1, simp = false);
> (%o5)            2
>
> as I would have expected 1+1 in the last case.
>
> I.e. the local binding for 'simp' does not seem to be working here the same
> way as in ev(tellsimp (0^0, 1), simp: false).
>
> Could you clarify on this point?
>

As I said in my previous email, the *result* of the EV is simplified again.
ev(...) returns the unsimplified expression 1+1, and then that is simplified
to 2.

That is, whenever Maxima performs an evaluation, the result is simplified
unless simp=false.

                -s