Class ProbMathTest

java.lang.Object
nl.tudelft.simulation.jstats.math.ProbMathTest

public class ProbMathTest extends Object
The tests for the ProbMath class.

Copyright (c) 2021-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.

Author:
Alexander Verbraeck
  • Constructor Details

    • ProbMathTest

      public ProbMathTest()
  • Method Details

    • testFactorial

      @Test public void testFactorial()
      Test the factorial functions.
    • testPermutation

      @Test public void testPermutation()
      Test the permutations functions.
    • testCombination

      @Test public void testCombination()
      Test the combination functions.
    • testErf

      @Test public void testErf()
      Test the erf(z)and erfInv(z) functions.
    • testGammaBeta

      @Test public void testGammaBeta()
      Test the gammaln, gamma, and beta functions.