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

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  09 Nov 2001 18:15
  • Rrelease-after

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

  • Rrelease-mid
  •  30 Jan 2001 06:12
  • Rrelease-after

    Changes: 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.

    • Rrelease-mid
    •  30 Jan 2001 06:12
    • Rrelease-after

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

      • Rrelease-mid
      •  30 Jan 2001 06:12
      • Rrelease-after

        Changes: 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.

        • Rrelease-mid
        •  30 Jan 2001 06:12
        • Rrelease-after

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

          Rss Recent comments

          Rcomment-before 18 Aug 2002 12:16 Rcomment-trans dana Rcomment-after

          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.)

          Rcomment-before 13 Jul 2002 19:32 Rcomment-trans ChriS70 Rcomment-after

          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...

          Rcomment-before 01 May 2000 18:34 Rcomment-trans fredheyman Rcomment-after

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

          4f592028bb631456f4dd89175ce9b72e_thumb

          Project Spotlight

          Rapid Photo Downloader

          A photo and video downloader (importer) from cameras, memory cards, and portable storage devices.

          5183c0ffb2544ec0166729140ccb6ac5_thumb

          Project Spotlight

          Minimum Profit

          A programmer's text editor.