类 PascalDistributionTest
java.lang.Object
org.hipparchus.distribution.discrete.IntegerDistributionAbstractTest
org.hipparchus.distribution.discrete.PascalDistributionTest
PascalDistribution的测试用例。
-
字段概要
-
构造器概要
-
方法概要
修饰符和类型方法说明int[]
创建默认的累积概率密度测试输入值double[]
创建默认的累积概率密度测试期望值int[]
创建默认的概率密度测试输入值double[]
创建默认的概率密度测试期望值创建默认的离散分布实例以用于测试。double[]
创建默认的逆累积概率测试输入值int[]
创建默认的逆累积概率密度测试期望值void
setUp()
设置所有测试实例数据为默认值void
测试特殊情况 p = 0void
测试特殊情况 p = 1void
从类继承的方法 org.hipparchus.distribution.discrete.IntegerDistributionAbstractTest
getCumulativeTestPoints, getCumulativeTestValues, getDensityTestPoints, getDensityTestValues, getDistribution, getInverseCumulativeTestPoints, getInverseCumulativeTestValues, getTolerance, makeLogDensityTestValues, setCumulativeTestPoints, setCumulativeTestValues, setDensityTestPoints, setDensityTestValues, setDistribution, setInverseCumulativeTestPoints, setInverseCumulativeTestValues, setTolerance, tearDown, testConsistencyAtSupportBounds, testCumulativeProbabilities, testDensities, testIllegalArguments, testInverseCumulativeProbabilities, testLogDensities, verifyCumulativeProbabilities, verifyDensities, verifyInverseCumulativeProbabilities, verifyLogDensities
-
字段详细资料
-
defaultTolerance
protected double defaultTolerance
-
-
构造器详细资料
-
PascalDistributionTest
public PascalDistributionTest()
-
-
方法详细资料
-
setUp
public void setUp()从类复制的说明:IntegerDistributionAbstractTest
设置所有测试实例数据为默认值- 覆盖:
-
setUp
在类中IntegerDistributionAbstractTest
-
makeDistribution
创建默认的离散分布实例以用于测试。 -
makeDensityTestPoints
public int[] makeDensityTestPoints()创建默认的概率密度测试输入值 -
makeDensityTestValues
public double[] makeDensityTestValues()创建默认的概率密度测试期望值 -
makeCumulativeTestPoints
public int[] makeCumulativeTestPoints()创建默认的累积概率密度测试输入值 -
makeCumulativeTestValues
public double[] makeCumulativeTestValues()创建默认的累积概率密度测试期望值 -
makeInverseCumulativeTestPoints
public double[] makeInverseCumulativeTestPoints()创建默认的逆累积概率测试输入值 -
makeInverseCumulativeTestValues
public int[] makeInverseCumulativeTestValues()创建默认的逆累积概率密度测试期望值 -
testDegenerate0
public void testDegenerate0()测试特殊情况 p = 0 -
testDegenerate1
public void testDegenerate1()测试特殊情况 p = 1 -
testMoments
public void testMoments()
-