Numerical Analysis Library

From EDM2
Jump to: navigation, search

An open source Modula-2 maths library originally developed for DOS but later ported and extended for OS/2. The Numerical Analysis Library includes a complex number arithmetic module mainly intended for compilers that either do not have a COMPLEX data type or where it is weekly implemented.

There are three versions of the package, v0.2 released in the 1990s and intended for PIM compatible compilers such as Canterbury Modula-2 or TopSpeed Modula-2, and a newer 0.3 and 0.4 version intended for ISO Modula-2 compatible compilers such as XDS-x86 Modula 2, all versions are actually supplied in the v0.4 package. The library was developed on OS/2 but uses little or no I/O and is therefore fairly platform neutral, it has been used on Microsoft Windows and DOS as well as OS/2 and should easily port to other systems.

Features

  • Addition, subtraction, multiplication, square root, sin, cos, etc.
  • Matrices. Various operations including solving linear equations, matrix factorisation, finding eigenvalues, singular value decomposition.
  • Polynomials: manipulation of polynomials, including root finding.
  • Fast Fourier Transform.
  • Solving ordinary differential equations.

Version

  • Numerical Analysis Library v0.3 (2016-04-21)
Prerequisites
Required for the PIM 0.2 version only

Links

Licence