The user function example and the file manual.demo



The file manual.demo has been changed the last time in the year 2005. No
examples have been added since the first release.  When we would like to
support the function example in the future we should support the file
manual.demo too.

The file is very difficult to read. These are the first lines:

additive declare(f,additive);
f(2*a+3*b);&&
algsys  f1:2*x*(1-l1)-2*(x-1)*l2$
f2:l2-l1$
f3:l1*(1-x**2-y)$
f4:l2*(y-(x-1)**2)$
algsys([f1,f2,f3,f4],[x,y,l1,l2]);
f1:x**2-y**2$
f2:x**2-x+2*y**2-y-1$
algsys([f1,f2],[x,y]);&&
allroots  (2*x+1)^3=13.5*(x^5+1);
allroots(%);&&
antisymmetric declare(h,antisymmetric);
h(x,z,y);&&

I would like to suggest to reformat the file to make it more readable.
This is might be the new format:

additive
   declare(f,additive);
   f(2*a+3*b);&&

algsys
   f1:2*x*(1-l1)-2*(x-1)*l2$
   f2:l2-l1$
   f3:l1*(1-x**2-y)$
   f4:l2*(y-(x-1)**2)$
   algsys([f1,f2,f3,f4],[x,y,l1,l2]);
   f1:x**2-y**2$
   f2:x**2-x+2*y**2-y-1$
   algsys([f1,f2],[x,y]);&&

allroots  
   (2*x+1)^3=13.5*(x^5+1);
   allroots(%);&&

antisymmetric 
   declare(h,antisymmetric);
   h(x,z,y);&&

Dieter Kaiser