Class ProbMathTest
java.lang.Object
nl.tudelft.simulation.jstats.math.ProbMathTest
The tests for the ProbMath class.
Copyright (c) 2021-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest the combination functions.voidtestErf()Test the erf(z)and erfInv(z) functions.voidTest the factorial functions.voidTest the gammaln, gamma, and beta functions.voidTest the permutations functions.
-
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.
-