Projects / ccmath

ccmath

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
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  09 Nov 2001 18:15

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

  •  30 Jan 2001 06:12

    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.

    •  30 Jan 2001 06:12

      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.

      •  30 Jan 2001 06:12

        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.

        •  30 Jan 2001 06:12

          Release Notes: New code for benchmark timing of selected functions, and a license change to LGPL.

          RSS Recent comments

          18 Aug 2002 12:16 dana

          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 ChriS70

          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 fredheyman

          ccmath is outstanding.
          Anybody who ever does anything with math should download this.
          The form is about as clean as you'll ever see.

          Screenshot

          Project Spotlight

          Nuxis

          An integrated solution for virtualization management.

          Screenshot

          Project Spotlight

          Transmageddon

          A video conversion tool.