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-2023 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 Summary
Constructors Constructor Description ProbMathTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestCombination()Test the combination functions.voidtestErf()Test the erf(z)and erfInv(z) functions.voidtestFactorial()Test the factorial functions.voidtestGammaBeta()Test the gammaln, gamma, and beta functions.voidtestPermutation()Test the permutations functions.
-
-
-
Method Detail
-
testFactorial
public void testFactorial()
Test the factorial functions.
-
testPermutation
public void testPermutation()
Test the permutations functions.
-
testCombination
public void testCombination()
Test the combination functions.
-
testErf
public void testErf()
Test the erf(z)and erfInv(z) functions.
-
testGammaBeta
public void testGammaBeta()
Test the gammaln, gamma, and beta functions.
-
-