类 GammaDistributionTest
java.lang.Object
org.hipparchus.distribution.continuous.RealDistributionAbstractTest
org.hipparchus.distribution.continuous.GammaDistributionTest
GammaDistribution的测试用例。
-
构造器概要
-
方法概要
从类继承的方法 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, testInverseCumulativeProbabilities, testLogDensities, verifyCumulativeProbabilities, verifyDensities, verifyInverseCumulativeProbabilities, verifyLogDensities
-
构造器详细资料
-
GammaDistributionTest
public GammaDistributionTest()
-
-
方法详细资料
-
makeDistribution
创建默认的连续分布实例以用于测试。 -
makeCumulativeTestPoints
public double[] makeCumulativeTestPoints()创建默认的累积概率分布测试输入值。 -
makeCumulativeTestValues
public double[] makeCumulativeTestValues()创建默认的累积概率密度测试期望值。 -
makeDensityTestValues
public double[] makeDensityTestValues()创建默认的概率密度测试期望值。 -
setUp
public void setUp()从类复制的说明:RealDistributionAbstractTest
设置所有测试实例数据为默认值。- 覆盖:
-
setUp
在类中RealDistributionAbstractTest
-
testParameterAccessors
public void testParameterAccessors() -
testPreconditions
public void testPreconditions() -
testProbabilities
public void testProbabilities() -
testValues
public void testValues() -
testDensity
public void testDensity() -
testInverseCumulativeProbabilityExtremes
public void testInverseCumulativeProbabilityExtremes() -
testMoments
public void testMoments() -
logGamma
public static double logGamma(double x) -
density
public static double density(double x, double shape, double scale) -
testMath753Shape1
- 抛出:
-
IOException
-
testMath753Shape8
- 抛出:
-
IOException
-
testMath753Shape10
- 抛出:
-
IOException
-
testMath753Shape100
- 抛出:
-
IOException
-
testMath753Shape142
- 抛出:
-
IOException
-
testMath753Shape1000
- 抛出:
-
IOException
-