CCMATH is a mathematics library, coded in C, that contains functions for linear algebra, numerical integration, geometry and trigonometry, curve fitting, roots and optimization, Fourier analysis, simulation generation, statistics, special functions, sorts and searches, time series models, complex arithmetic, and high precision computations.
| Tags | Software Development Libraries Scientific/Engineering Mathematics |
|---|---|
| Licenses | LGPL |
| Operating Systems | POSIX Linux |
| Implementation | C |
Recent releases


Release Notes: A fix for a rare numerical instability in the singular value decomposition (SVD) code.


Release Notes: All library functions and test code now employ ANSI function declarations and definitions. The test code has been extensively revised to support automatic comparison of test output with standard results.


Release Notes: Bugfixes for Alpha where longs are 64 bits, new declarations for allocation via stdlib.h, and allocation of free memory in eigenvalue functions.


Release Notes: Update hash storage to permit multiple hash array declarations in a program, and eliminate unnecessary external variables. Removes some anachronistic statements that could produce compiler warnings.


Release Notes: New code for benchmark timing of selected functions, and a license change to LGPL.
Recent comments
18 Aug 2002 12:16
Re: Usual traps
> Well, reading the previous comment I
> felt "at least a good complex
> library"! Unfortunately, it is not
> the case. For example the division and
> cabs functions do not take care of
> possible overflows or underflows in the
> intermediate computations so they will
> give wrong answers even though the
> result is a perfectly representable
> number...
The absence of safeguards on overflow and underflow in the complex section of the CCMATH library was a design decision. It is perfectly possible to provide such safeguards
for these instances ,however, this may only serve to obfuscate a more serious problem
in problem formulation. Clearly this would be the case if both the square and square root
of a problamatic number are required somewhere in the computation. Therefore, these
auxillary functions are not safeguarded in order to provide an early indication of possible
problems with the dynamic range of complex numbers in the computation. My feeling is
that such problems are best addressed by a reformulation of the computation rather than
a limited local fix! (Note that the complex math functions are not called by functions in
other library sections.)
13 Jul 2002 19:32
Usual traps
Well, reading the previous comment I felt "at least a good complex library"! Unfortunately, it is not the case. For example the division and cabs functions do not take care of possible overflows or underflows in the intermediate computations so they will give wrong answers even though the result is a perfectly representable number...
01 May 2000 18:34
ccmath is outstanding.
Anybody who ever does anything with math should download this.
The form is about as clean as you'll ever see.
A tool which splits a single WAV file into multiple wav files based on silence.