Class ErfTest

java.lang.Object
ffx.utilities.FFXTest
ffx.numerics.special.ErfTest

public class ErfTest extends ffx.utilities.FFXTest
Author:
Michael J. Schnieders
  • Field Summary

    Fields inherited from class ffx.utilities.FFXTest

    ffxCI, ffxOpenMM, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    ErfTest(String info, double x, double expected)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Collection<Object[]>
    The expected values were found to 20 decimal points of precision using Mathematica: Erf[SetPrecision[x, 20]] Erfc[SetPrecision[x, 20]]
    void
    Test of erf method, of class Erf.
    void
    Test of erfc method, of class Erf.

    Methods inherited from class ffx.utilities.FFXTest

    afterClass, afterTest, beforeClass, beforeTest, registerTemporaryDirectory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErfTest

      public ErfTest(String info, double x, double expected)
  • Method Details

    • data

      public static Collection<Object[]> data()
      The expected values were found to 20 decimal points of precision using Mathematica: Erf[SetPrecision[x, 20]] Erfc[SetPrecision[x, 20]]
    • testErf

      public void testErf()
      Test of erf method, of class Erf.
    • testErfc

      public void testErfc()
      Test of erfc method, of class Erf.