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.
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.
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`.
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.