[Maxima] error message
rich.hennessy at verizon.net
Mon Aug 24 19:43:29 CDT 2009
"is it legal to distribute this modifed facsum code in pw.mac"
I am not using that method. I wrote my own pwfacsum which is not even similar to the facsum command in the workings of it. it is
also much faster.
----- Original Message -----
From: "Barton Willis" <willisb at unk.edu>
To: "Richard Hennessy" <richhen2008 at gmail.com>
Cc: "Stavros Macrakis" <macrakis at alum.mit.edu>; "Richard Hennessy" <rich.hennessy at verizon.net>; "Maxima List"
<maxima at math.utexas.edu>
Sent: Sunday, August 23, 2009 9:34 AM
Subject: Re: [Maxima] error message
You can experiment with this solution:
#$ mratsimp(e,[v]) := ?mratsimp(e, ?margs(v)); #$
(defmfun mratsimp (e vars)
(cond ((not (null vars))
(t (fullratsimp e))))
(%i13) apply('mratsimp, cons(x*(x-1), makelist(concat(a,k),k,0,100)));
(%i14) apply('ratsimp, cons(x*(x-1), makelist(concat(a,k),k,0,100)));
Maxima encountered a Lisp error:
In facsum, change ratsimp to mratsimp. Of course, then you are stuck with
it legal to distribute this modifed facsum code in pw.mac, and ... I don't
know the answers
to such questions.
Obviously, the best solution to all this would be to alter the definition
$ratsimp in rat3e.lisp. The reader macro #$ has not been defined when
compiles rat3e.lisp, so altering $ratsimp in the way I suggest requires
tinkering with the build process. Since I understand little to nothing
the build process, I'm not going to try.
It would be useful to define the reader macro #$ earlier, I think.
-----maxima-bounces at math.utexas.edu wrote: -----
>If you guys are going to fix this problem this way then I don't have to
>write my own version of facsum which would be nice since writing my own
>version is a distraction from making pw.mac work with the facsum function
>(It is doable though, I have already started on it. I just don't want to
>waste my time on something that is not needed).
More information about the Maxima