|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.distribution.RealDistributionAbstractTest
org.apache.commons.math3.distribution.GammaDistributionTest
public class GammaDistributionTest
Test cases for GammaDistribution. Extends ContinuousDistributionAbstractTest. See class javadoc for ContinuousDistributionAbstractTest for details.
| Constructor Summary | |
|---|---|
GammaDistributionTest()
|
|
| Method Summary | |
|---|---|
static double |
density(double x,
double shape,
double scale)
|
static double |
logGamma(double x)
|
double[] |
makeCumulativeTestPoints()
Creates the default cumulative probability distribution test input values |
double[] |
makeCumulativeTestValues()
Creates the default cumulative probability density test expected values |
double[] |
makeDensityTestValues()
Creates the default probability density test expected values |
GammaDistribution |
makeDistribution()
Creates the default continuous distribution instance to use in tests. |
void |
setUp()
Setup sets all test instance data to default values |
void |
testDensity()
|
void |
testInverseCumulativeProbabilityExtremes()
|
void |
testMath753Shape1()
|
void |
testMath753Shape10()
|
void |
testMath753Shape100()
|
void |
testMath753Shape1000()
|
void |
testMath753Shape142()
|
void |
testMath753Shape8()
|
void |
testMoments()
|
void |
testParameterAccessors()
|
void |
testPreconditions()
|
void |
testProbabilities()
|
void |
testValues()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GammaDistributionTest()
| Method Detail |
|---|
public GammaDistribution makeDistribution()
makeDistribution in class RealDistributionAbstractTestpublic double[] makeCumulativeTestPoints()
makeCumulativeTestPoints in class RealDistributionAbstractTestpublic double[] makeCumulativeTestValues()
makeCumulativeTestValues in class RealDistributionAbstractTestpublic double[] makeDensityTestValues()
makeDensityTestValues in class RealDistributionAbstractTestpublic void setUp()
RealDistributionAbstractTest
setUp in class RealDistributionAbstractTestpublic void testParameterAccessors()
public void testPreconditions()
public void testProbabilities()
public void testValues()
public void testDensity()
public void testInverseCumulativeProbabilityExtremes()
public void testMoments()
public static double logGamma(double x)
public static double density(double x,
double shape,
double scale)
public void testMath753Shape1()
throws IOException
IOException
public void testMath753Shape8()
throws IOException
IOException
public void testMath753Shape10()
throws IOException
IOException
public void testMath753Shape100()
throws IOException
IOException
public void testMath753Shape142()
throws IOException
IOException
public void testMath753Shape1000()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||