Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-948

Add inverse error function and inverse complementary error function

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.1
    • 3.2
    • None
    • None

    Description

      The Erf class provides only direct functions erf(double) and erfc(double).

      The inverse of these functions are useful to compute accurately and efficiently the inverse cumulative probabilities of normal distribution and Lévy distribution.

      A recent implementation as been designed by Mike Giles and published in a 2010 paper in CUDA Gems: Approximating the erfinv function. The paper is available at http://people.maths.ox.ac.uk/gilesm/files/gems_erfinv.pdf. The code implementing the double precision version with all the coefficients is available here: http://gpucomputing.net/?q=node/1828.

      After a direct contact with professor Giles, he gave his authorization to the Apache Commons project to use this code in the library.

      Attachments

        Activity

          People

            luc Luc Maisonobe
            luc Luc Maisonobe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: