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

Add inverse error function and inverse complementary error function

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: