~peterpall/maxima/+git/maxima.code:rtoy-refactor-ratform-laplac

Last commit made on 2023-02-02
Get this branch:
git clone -b rtoy-refactor-ratform-laplac https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-refactor-ratform-laplac
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

7368b27... by Raymond Toy <email address hidden>

Move simple functions into ilt3

The macro `coef` and the functions `lapsum`, `lapprod`, and `expo` are
only used in `ilt3`. Let's move them into `ilt3` to reduce pollution
of the name space. For simplicity convert `coef` from a macro to a
function.

Also add a note that `lapsum`, `lapprod`, and `expo` could be replaced
by macros from strmac.lisp. That would probably be useful. For
another day.

Full testsuite passes.

844c3f1... by Raymond Toy <email address hidden>

Remove special decl for ratform

Since we don't need the specvar `ratform` anymore, we can remove the
special and unspecial declarations for `ratform` now.

Full testsuite passes.

e99642a... by Raymond Toy <email address hidden>

Rename specvar ratform to laplac-ratform in ilt0

It seems as if the specvar `ratform` was only used by `ilt0` to
implicitly communicate stuff to `ilt1`, `ilt2`, and `ilt3`. Since we
do this explicitly now, so we can rename the `ratform` to
`laplac-ratform`.

Thus, we don't need the special var `ratform` anymore.

Full testsuite passes.

32c39e4... by Raymond Toy <email address hidden>

Don't access ratform in macro coef

The macro `coef` was referencing the specvar `ratform`. Instead of
doing that, add an arg to `coef` to hold the value of `ratform`.
Name the arg `coef-ratform` for uniqueness.

Update the (two) callers to pass in the `ratform` value.

Full testsuite passes.

d5a21ae... by Raymond Toy <email address hidden>

Rename ratform to laplac-ratform in ilt1, ilt2, ilt3

The `ratform` arg to `ilt1`, `ilt2`, and `ilt3` doesn't need to be the
special var. Thus rename it to be the lexical `laplac-ratform`.

Full testsuite passes.

bdb6fcf... by Raymond Toy <email address hidden>

Add ratform arg to ilt1, ilt2, and ilt3

As a first pass at possibly simplifying the use of the special var
`ratform`, pass `ratform` to the functions `ilt1`, `ilt2`, and `ilt3`
which all want to use `ratform`.

Full testsuite passes.

9e449c7... by Raymond Toy <email address hidden>

Missed a place where disrep wasn't getting the ratform arg

When modifying all callers of `disrep` to pass in the `ratform` arg,
one place was missed. Add it appropriately.

ac490ba... by Raymond Toy <email address hidden>

Remove test for fib(5)

For some reason this causes other tests in rtest2.mac to fail. Problems
86 and 95 pass but were expected to fail, and problems 87 and 96 now
fail. The output from problems 87 and 96 appears the have the correct
form, but for some reason are not equal. I don't know why.

This needs more investigation, but remove the test for now so that
the testsuite is unchanged.

793569f... by Raymond Toy <email address hidden>

Merge branch 'rtoy-refactor-simp'

Removes many special variables from simp.lisp.

bd72f18... by Raymond Toy <email address hidden>

Just make *rulesw* a defvar

Instead of using `declare-top` for `*rulesw*`, just add a `defvar` for
it. For some Lisps, this makes it clear where it's defined, which is
useful for debugging and hacking.