Am 16 Dec 2008 um 15:00 hat Robert Dodier geschrieben:
> On Tue, Dec 16, 2008 at 12:39 PM, van Nek <van.nek at arcor.de> wrote:
>
> > is this evaluation or simplification ? Can someone please explain the notation?
>
> Another way to look at this:
>
> '([3, 4]*p + [1, 2]), listarith=true;
> => [3 p + 1, 4 p + 2]
>
> Must be a simplification since the quote suppresses evaluation.
Thanks for your clever observation.
It seems that I must read the doc about ev. Doesn't ev rip off the first quote?
(%i2) '( a ), a:2;
(%o2) 2
but
(%i3) a:2;
(%o3) 2
(%i4) '( a );
(%o4) a
Anyway:
(%i5) '( '( a ) ), a:2;
(%o5) a
So this convinces me:
(%i1) '( '([3, 4]*p + [1, 2]) ), listarith=true;
(%o1) [3 p + 1, 4 p + 2]
Volker
> HTH
>
> Robert Dodier
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima