On Fri, 3 Sep 2010, Barton Willis wrote:
< Sorry--I wasn't using a fresh Maxima. Also, multiadditive needs to be
< loaded.
<
< (%i1) load("multiadditive")$
< (%i2) load("multioutative.lisp")$
<
< (%i3) declare(f,multioutative);
< (%o3) done
<
< (%i4) f(6*x, 7*y,p-q);
< (%o4) 42*f(x,y,p-q)
<
< My code uses numfactor to decide what to factor out--I should look at the
< outative code to see what it does.
<
< --Barton
It would be nice if this decision could be put in the hands of the
user. What I mean is that there could be a default supplied by Maxima
that could be overloaded by the user. At present, the scalar/nonscalar
distinction is too much of a straightjacket, especially when trying to
do symbolic computations over an n-dimensional vector space.
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.