~peterpall/maxima/+git/maxima.code:rtoy-schatc-rename-specvar-ans

Last commit made on 2023-01-27
Get this branch:
git clone -b rtoy-schatc-rename-specvar-ans https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-schatc-rename-specvar-ans
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

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

Merge branch 'master' into rtoy-schatc-rename-specvar-ans

4d80846... by Raymond Toy <email address hidden>

Remove reference to share.usg in user manual.

share.usg has been removed so remove the reference to it in
Miscellaneous.texi since it doens't exist.

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

Rename ans to *schatc-ans* in schatc.lisp

schatc.lisp has a `declare-top` special for `ans`, and a corresponding
unspecial the bottom. This kind of makes it look like `ans` is only
special in this file. Thus, rename `ans` to `*schatc-ans*`.

That, however, causes failures in the test suite, because it's
actually used in other places. It's hard to know exactly where since
"ans" is such a common variable name. This change renames `ans` in
series.lisp and trgred.lisp.

With this change, the full testsuite passes.

cf1a570... by Robert Dodier <email address hidden>

Remove share/share.usg, as it is very far out of date,
and, on review, does not contain any useful information not already found
in other files (Texinfo in some cases and plain text .usg in others).

06aba2d... by Robert Dodier <email address hidden>

In package distrib, try again to generate a random number instead of returning
a number in the neighborhood of 1e-304, which is so small that
it should be practically impossible, but occurs once every 200 or 300 tries.

Even 1e-16 (many orders of magnitude larger) should occur only about once
in a billion samples, for typical values of shape parameters.
1e-304 causes numerical problems, and since it is essentially impossible,
it is okay to just skip it and try again.

296108f... by Robert Dodier <email address hidden>

In package distrib, implement maximum likelihood estimators for exponential, gamma, and beta distributions.

Work in progress: need test cases for the new functions, and it is
possible the functions might be revised.

Also change names of parameters for lognormal distribution to log_location and log_scale
instead of location and scale.

8f7b8df... by Raymond Toy <email address hidden>

Move some specvars from hypgeo to globals

Move the specvar `*par*` from hypgeo.lisp to globals.lisp.

Rename `checkcoefsignlist` to `*checkcoefsignlist*` and make it a
`defvar` in globals.lisp.

Now we can remove `declare-top`s for `*par*` and `checkcoefsignlist`.

Full testsuite passes.

8360c8c... by Raymond Toy <email address hidden>

Fix warnings about unknown functions

Fix warnings about `disable-some-lisp-warnings` and
`enable-some-lisp-warnings` being undefined functions when compiling
mload.lisp. These are defined in init-cl.lisp which is compiled
later.

Since these functions are only used in mload.lisp, we can just move
these functions from init-cl.lisp to mload.lisp.

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

Fix warning about %e-val being undefined.

Move the defvar of `%e-val` from simp.lisp to globals.lisp. But since
`mget` isn't defined yet when globals.lisp is compiled, we can't
initialize it in globals. Hence, initialize it in
`initialize-runtime-globals`.

16d236e... by Raymond Toy <email address hidden>

Change Documentation Categories section to be an appendix

It was strange to see "Appendix A Function and Variable Index"
followed by "B Documentation Categories". Hence, change it from a
`@chapter` to `@appendix` to make it "Appendix B Documentation
Categories".

Also update `@node links to so that the previous node of
"Documentation Categories" is the function and variable index.