Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-172

Update the Erf function to use the Boost rational function approximtion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 1.0
    • 1.1
    • gamma
    • None

    Description

      The error function (erf) and complementary error function (erfc) are implemented using the continued fraction evaluation performed in the regularized gamma P and Q implementation. This is a generic function called with a fixed argument of 0.5:

      erf(x)  = gammap(0.5, x*x)
      erfc(x) = gammaq(0.5, x*x)
      

      These functions have an implementation in the Boost c++ library using a rational function approximation.

      NUMBERS-171 ported the inverse erf functions from Boost with an improvement in accuracy and speed. Investigate the use of the corresponding forward erf and erfc functions from Boost as replacements for the use of the regularized gamma function to evaluate the error function.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aherbert Alex Herbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h