On Seg, 2009-03-23 at 10:00 -0400, Stavros Macrakis wrote:
> As a general rule, Maxima allows operations which take lists as
> arguments (delete, append, reverse, map, cons, endcons, last, length,
> rest, member) to take any functional application as an argument and
> act on the arguments.
Neat!
Although not all "lists" are treated equally. Consider this example:
(%i1) rest([a,b,c,d,e]);
(%o1) [b, c, d, e]
(%i2) rest(a.b.c.d.e);
(%o2) b . c . d . e
(%i3) rest(a*b*c*d*e);
(%o3) b c d e
(%i4) rest(a+b+c+d+e);
(%o4) d + c + b + a
How can I prevent the simplification of the sum in %i4 in order to get
b+c+d+e in %o4?
Regards,
Jaime