Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
|
SAML, the Christmas release (961228)
Posted:
Dec 28, 1996 9:54 PM
|
|
This is a (rather delayed) release of SAML, the Simple Algebraic Math Library, a free C library for computer algebra. The tarball is available at the usual place. There aren't many new features, this is essentially a cleanup of 960828. The most important changes are:
o Documentation
The documentation has been moved to a separate subdirectory and should be reasonably up-to-date.
o Library
* plugged a memory leak in Algext.c * some changes in Ratio.c to accomodate for rational functions * renamed header files * the horrible parse_poly() has been removed, and replaced by a generic saml_parse() which should be appropriate for all types, like tensors. New files simple-parser.c and simple-lexers.c.
o Factorint
Factorint uses saml_parse() to read the numbers, which means that you can write things like "factorint 2^67-1" and it will work.
o Induce
* We use saml_parse() now, which simplifies a few things. * The static limit on the size of the interpreter stack has been removed. * New syntax ~~ for modulo.
o Samuel
* Experimental support for rational functions. * The lexical analyzer has been rewritten. * Piping to a non-existent command will no longer kill samuel, we catch SIGPIPE now. * The "list-variables" command is now `??' instead of `?' since we use the question-mark for something else. * New syntax ~~ for the modulo operator, as in induce. For the moment it's only syntactic sugar for an external function called modulo(), but the goal is to ultimately replace the repeated-substitution operator `>>' which is too low-level and very unsafe. * It is now possible to read tensors (or other objects) from files and pipes thanks to the new saml_parse() function, in particular you can have functions returning tensors.
Your feedback would be very much appreciated (I'm serious). Send questions, remarks, bug reports etc. either to me <bousch@topo.math.u-psud.fr> or to the SAML mailing list <saml@topo.math.u-psud.fr>.
Here is the entry for the Linux Software Map:
Begin3 Title: SAML, the Simple Algebraic Math Library Version: 961228 Entered-date: 28DEC96 Description: SAML is a C library for symbolic calculations, accompanied by some application programs (samuel, factorint, induce). The library provides an object-oriented framework for defining and handling mathematical types, and implements the most common data types of computer algebra: integers, reals, fractions, complex numbers, polynomials, tensors, matrices, etc. The application programs consist of an interactive symbolic calculator (samuel), a programming language (induce) and a program to factorize integers (factorint). Keywords: Computer algebra, C, library, symbolic calculus, multiple-precision arithmetic, quadratic sieve Author: bousch@topo.math.u-psud.fr (Thierry Bousch) Maintained-by: bousch@topo.math.u-psud.fr (Thierry Bousch) Primary-site: topo.math.u-psud.fr /pub/bousch 229kB saml-961228.tgz Platforms: Requires a decent Un*x system, gcc 2.5.0 or later, gdbm, perl and gmake. TeXinfo is needed for the documentation. Bison and the readline library can be useful. Copying-policy: GPL End
|
|
|
|