Numerical Algorithms in C
C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CHAPTER1 code import Jul 28, 2012
CHAPTER2 code import Jul 28, 2012
CHAPTER3 code import Jul 28, 2012
CHAPTER4 code import Jul 28, 2012
CHAPTER5 code import Jul 28, 2012
CHAPTER6 code import Jul 28, 2012
CHAPTER7 code import Jul 28, 2012
EXAMPLES code import Jul 28, 2012
UTILITY code import Jul 28, 2012
COPYING code import Jul 28, 2012
Makefile code import Jul 28, 2012
Makefile.win32 code import Jul 28, 2012
README.md fix README Jul 28, 2012
ch1.h code import Jul 28, 2012
ch2.h code import Jul 28, 2012
ch3.h code import Jul 28, 2012
ch4.h code import Jul 28, 2012
ch5.h code import Jul 28, 2012
ch6.h code import Jul 28, 2012
ch7.h code import Jul 28, 2012
newnumal5p1.txt code import Jul 28, 2012
newnumal5p2.txt code import Jul 28, 2012
newnumal5p3.txt code import Jul 28, 2012
numal.h code import Jul 28, 2012
numalinx.txt code import Jul 28, 2012
real.h code import Jul 28, 2012
utility.h code import Jul 28, 2012

README.md

numal

Numerical Algorithms in C

This is the complete code for the classic Numerical Algorithms in ALGOL (NUMAL) library, translated to C.

I added some makefiles that allow it to compile on modern machines (though only linux has been tested recently).

Many of the routines are no longer state-of-the-art, but the code is still an interesting and useful reference. The library is also quite compact, and it is easy to pick out individual files. I suspect it would be reasonably fast and sufficiently accurate for many problems (except linear algebra; I would stay away from chapter 3).

  • CHAPTER1 — Basic vector, matrix, complex number, and long integer operations

  • CHAPTER2 — Finite series and polynomials

  • CHAPTER3 — Linear algebra

  • CHAPTER4 — Analytic evaluations: infinite series, integrals, differentiation

  • CHAPTER5 — Non-linear solvers, optimization, differential equations

  • CHAPTER6 — Special functions

  • CHAPTER7 — Interpolation and approximation