Other way to a not supported inverse laplace transform with maxima?
Subject: Other way to a not supported inverse laplace transform with maxima?
From: Mark H Weaver
Date: Fri, 22 Apr 2011 01:46:47 -0400
Richard Fateman <fateman at eecs.berkeley.edu> writes:
>> I have attached a version of my preliminary patches, updated to work
>> with current Maxima (5.24.0). Note that the patch to laplac.lisp will
>> require recompilation of the Maxima executable.
>
> If you have written a source file called foo.lisp that you wish to
> use to change Maxima,
> all you need to do is load("foo.lisp").
>
> You do not need to recompile maxima.
This was my expectation as well, but if I load("laplac.lisp"), even the
unmodified version of it, this breaks $LAPLACE. Henceforth, any attempt
to use it results in the following error:
Error in COND [or a callee]: The variable PARM is unbound.
PARM is a formal parameter of $LAPLACE, which calls LAPLACE. LAPLACE
references PARM, and this only works if PARM is a special variable.
This suggests that the (DECLARE-TOP (SPECIAL ... PARM ...)) form at the
top of maxima/src/laplac.lisp fails when the file is loaded, but works
properly when the file is compiled into the executable.
I'm using GCL 2.6.7. I suppose there's a bug in DECLARE-TOP, but I
haven't had time to look into it. I've been using Scheme for many
years, but am new to Common Lisp.
Thanks,
Mark