Up: mathematical computation

# Mathematical Libraries

The Geometry Center has a reasonable collection of mathematical libraries, some are standard or commercial , some developed at the Center. However, there is a great deal of mathematical software in the world, and often the sensible strategy is to locate and download code as you need it. Thus, the following list is probably best viewed as a collection of local favorites.

## Mathematica

• Hyperbolic -- Hyperbolic, as the name suggests, is a collection of functions for investigating real hyperbolic geometry. The package deals with basic geometric objects and isometries in all dimensions, with graphics output in dimensions 2 and 3. Hyperbolic.m was developed at the Center by Oliver Goodman, Charlie Bunn and Silvio Levy, and is available from the Center ftp archive.

• Circlepack -- Circlepack is a collection of Mathematica packages to calculate and display circle packings given a triangulation of a closed orientable surface. It operates in whichever geometry is appropriate depending on the genus of the surface, and can compute packings with specified overlaps.

• Standard Packages -- Mathematica is distributed with a collection of libraries from Wolfram Research containing a wealth of specialized functions. The Center library contains documentation describing the contents of the standard libraries, but your best bet may be to simply go to the directory

`/usr0/pkg/mathematica/2.2/sun4/Packages/`

and browse. The `README` file in that directory contains a listing of packages, though you will have to look at the files themselves to see what functions they contain. However, this is an excellent way to learn about Mathematica programming.

## Maple

• Share Libraries -- Maple is distributed with a collection of user contributed routines, packages and worksheets. They reside in the directory `/u/pkg/mapleV3/share`. The best way to find out about them is to use the online documentation. Load the main library by executing the command

`with(share);`

from within maple. Then issue the command `?share`, and follow the instructions given there. Various other text and TeX documentation can be found by poking around in the /share directory and its subdirectories.

## C Source Code

• Graphics Gems -- The C source code for the routines from the book "Graphics Gems" (Editor Andrew S. Glassner, Academic Press, 1990), which is in the Center library, is available in the directory `/u/src/grap/gems`.

• Numerical Recipes in C -- The book "Numerical Recipes in C", (Eds. Flannery, Press, Teukolsky and Vetterling, Cambridge Univ. Press, 1988) is in the Center library. The source code for the routines therein reside in `/u/src/new/misc/crecipes`. The object code is in the library `-lcrecipes`.

• linpack and netlib -- The linpack library and a selection of netlib routines are available in `/u/src/math/linpack` and `/u/src/math/netlib` respectively. The linpack object code is in `/usr5/sgi/lib/liblinpack.a`

Up: mathematical computation