evaluation or simplification ?



On 12/17/08, van Nek <van.nek at arcor.de> wrote:

>  It seems that I must read the doc about ev. Doesn't ev rip off the first quote?

Oh, sorry, you're right.

>  So this convinces me:
>  (%i1) '( '([3, 4]*p + [1, 2]) ), listarith=true;
>  (%o1)                         [3 p + 1, 4 p + 2]

Maybe this is less obscure.

listarith : false;
'([3, 4]*p + [1, 2]);
 => [3, 4] p + [1, 2]
listarith : true;
'([3, 4]*p + [1, 2]);
 => [3 p + 1, 4 p + 2]

best

Robert