Home

Tcl wrapper for cephes library

This project provides a wrapper for the cephes library of special mathematical functions, including Bessel functions of the first and second kind, complete and incomplete Gamma and Beta functions, statistical distribution functions and their inverses etc.

The code for the cephes library itself comes from www.netlib.org.

The wrapper code was generated using the Wrapfort utility (cf. http://ftcl.sourceforge.net) from the specifications found in wrap_cephes.tcl.

You can build the library via the mkcephes.sh shell script and mkcephes.bat batch file, but they are rather ad hoc. So you may need to adapt them to your situation.

As of 12 october, the wrapper is fairly complete. What remains is to create a TEA conforming configure script.