Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Numerical Algorithms in C
C Other
branch: master
Failed to load latest commit information.
CHAPTER1 code import
CHAPTER2 code import
CHAPTER3 code import
CHAPTER4 code import
CHAPTER5 code import
CHAPTER6 code import
CHAPTER7 code import
EXAMPLES code import
UTILITY code import
COPYING code import
Makefile code import
Makefile.win32 code import
README.md fix README
ch1.h code import
ch2.h code import
ch3.h code import
ch4.h code import
ch5.h code import
ch6.h code import
ch7.h code import
newnumal5p1.txt code import
newnumal5p2.txt code import
newnumal5p3.txt code import
numal.h code import
numalinx.txt code import
real.h code import
utility.h code import

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

Something went wrong with that request. Please try again.