public static class YuleSimonDistribution.CDF extends YuleSimonDistribution implements ClosedFormCumulativeDistributionFunction<java.lang.Number>
YuleSimonDistribution.CDF, YuleSimonDistribution.PMF
DEFAULT_SHAPE, shape
Constructor and Description |
---|
CDF()
Creates a new instance of YuleSimonDistribution
|
CDF(double shape)
Creates a new instance of YuleSimonDistribution
|
CDF(YuleSimonDistribution other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
evaluate(java.lang.Number input)
Evaluates the function on the given input and returns the output.
|
YuleSimonDistribution.CDF |
getCDF()
Gets the CDF of a scalar distribution.
|
clone, convertFromVector, convertToVector, getDomain, getDomainSize, getMaxSupport, getMean, getMeanAsDouble, getMinSupport, getProbabilityFunction, getShape, getVariance, sampleAsInt, sampleInto, setShape
sampleAsInts, sampleInto
sample, sample
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, convertFromVector, convertToVector
getMaxSupport, getMeanAsDouble, getMinSupport, getVariance
getMean
sample, sample, sampleInto
public CDF()
public CDF(double shape)
shape
- Shape parameter, must be greater than zeropublic CDF(YuleSimonDistribution other)
other
- YuleSimonDistribution to copypublic java.lang.Double evaluate(java.lang.Number input)
Evaluator
public YuleSimonDistribution.CDF getCDF()
UnivariateDistribution
getCDF
in interface ClosedFormUnivariateDistribution<java.lang.Number>
getCDF
in interface UnivariateDistribution<java.lang.Number>
getCDF
in class YuleSimonDistribution