public static class YuleSimonDistribution.CDF extends YuleSimonDistribution implements ClosedFormCumulativeDistributionFunction<java.lang.Number>
YuleSimonDistribution.CDF, YuleSimonDistribution.PMFDEFAULT_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, setShapesampleAsInts, sampleIntosample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, convertFromVector, convertToVectorgetMaxSupport, getMeanAsDouble, getMinSupport, getVariancegetMeansample, sample, sampleIntopublic 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)
Evaluatorpublic YuleSimonDistribution.CDF getCDF()
UnivariateDistributiongetCDF in interface ClosedFormUnivariateDistribution<java.lang.Number>getCDF in interface UnivariateDistribution<java.lang.Number>getCDF in class YuleSimonDistribution