Re: Reliable numerics in LISP? Matlisp, f2cl, Maxima, help to port xlispstat, clean the dust off NumRec, or what?
Raymond Toy wrote:
> >>>>> "pbunyk" == pbunyk <pbunyk@gmail.com> writes:
>
> pbunyk> standard for doing medium-level math in CL. I mean something in-between
> pbunyk> linear algebra (matlisp for BLAS/LAPACK level works just fine for me)
> pbunyk> and higher-level abstract things (I bet there are solutions, but I
> pbunyk> personally have not yet encountered a problem! ;-) ) -- simple things
> pbunyk> like non-linear function fitting, etc., -- minpack port distributed
> pbunyk> with matlisp fails to run its own regression tests quite spectacularly
> pbunyk> for me!
>
> I'm not sure they ever worked. But the version that's included with
> f2cl does work.
>
> pbunyk> There is that clmath tarball -- obviously not maintained, but some
> pbunyk> parts are useful, some fail... CLOCC has math module -- is it
> pbunyk> maintained at all? I've noticed that f2cl is maintained much more
> pbunyk> actively than matlisp -- should I just fetch the most recent release
> pbunyk> and unleash it on some random NETLIB function, as needed? Should I be
>
> Yes, matlisp has languished quite a bit. But I don't use matlisp at
> all anymore, so it does everything I need. :-) And no one else that
> has really sent messages about missing functionality so it's
> feature-complete AFAICT. (Yes, I know there are a couple of
> outstanding issues that have not be taken care of.)
>
> f2cl won't work on "random" netlib functions, but will work on some of
> the more "well-written" ones.
>
> Please send mail to the matlisp lists and to the f2cl lists if
> something is not working for you or you need something.
>
> The other option is to use cffi (or uffi) to interface to precompiled
> C (or Fortran) functions or gsl.
MATLISP is quite fine, actually. Just needs a bit of documentation.
XLispStat shouldn't be ported if you want CommonLisp. There are issues
with the CommonLispStat implementation that I've been mangling through
for the past year, but it's getting there. I got sidetracked by
predicate dispatch (which is a rather nice way of handling statistical
calculations cleanly, with a minor (planned) performance hit).
For the person mentioning R -- There are a number of CL <-> R gateways,
we've got one working, and would release except for some perfectionist
issues.
best,
-tony
|