类 ConstantRealDistributionTest
java.lang.Object
org.hipparchus.distribution.continuous.RealDistributionAbstractTest
org.hipparchus.distribution.continuous.ConstantRealDistributionTest
ConstantRealDistribution的测试用例。
-
构造器概要
-
方法概要
修饰符和类型方法说明double[]
创建默认的累积概率分布测试输入值。double[]
创建默认的累积概率分布测试期望值。double[]
创建默认的概率密度测试期望值。创建默认的均匀实数分布实例以用于测试。void
setUp()
设置所有测试实例数据为默认值。void
覆盖默认测试,验证反函数是常数。void
从类继承的方法 org.hipparchus.distribution.continuous.RealDistributionAbstractTest
getCumulativeTestPoints, getCumulativeTestValues, getDensityTestValues, getDistribution, getInverseCumulativeTestPoints, getInverseCumulativeTestValues, getTolerance, makeInverseCumulativeTestPoints, makeInverseCumulativeTestValues, makeLogDensityTestValues, setCumulativeTestPoints, setCumulativeTestValues, setDensityTestValues, setDistribution, setInverseCumulativeTestPoints, setInverseCumulativeTestValues, setTolerance, tearDown, testConsistency, testCumulativeProbabilities, testDensities, testDensityIntegrals, testIllegalArguments, testLogDensities, verifyCumulativeProbabilities, verifyDensities, verifyInverseCumulativeProbabilities, verifyLogDensities
-
构造器详细资料
-
ConstantRealDistributionTest
public ConstantRealDistributionTest()
-
-
方法详细资料
-
setUp
public void setUp()从类复制的说明:RealDistributionAbstractTest
设置所有测试实例数据为默认值。- 覆盖:
-
setUp
在类中RealDistributionAbstractTest
-
makeDistribution
创建默认的均匀实数分布实例以用于测试。 -
makeCumulativeTestPoints
public double[] makeCumulativeTestPoints()创建默认的累积概率分布测试输入值。 -
makeCumulativeTestValues
public double[] makeCumulativeTestValues()创建默认的累积概率分布测试期望值。 -
makeDensityTestValues
public double[] makeDensityTestValues()创建默认的概率密度测试期望值。 -
testInverseCumulativeProbabilities
public void testInverseCumulativeProbabilities()覆盖默认测试,验证反函数是常数。 -
testMeanVariance
public void testMeanVariance()
-