public class Gamma extends RandomNumber
BasicFunction.Differentiable<N extends Number,F extends BasicFunction<N>>, BasicFunction.Integratable<N extends Number,F extends BasicFunction<N>>| Constructor and Description |
|---|
Gamma() |
Gamma(double aShape,
double aRate) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
generate()
A Convenient Way of Generating Gamma Random Variables Using Generalized Exponential Distribution
|
double |
getExpected() |
double |
getVariance()
Subclasses must override either getStandardDeviation() or getVariance()!
|
checkProbabilty, doubleValue, floatValue, getStandardDeviation, intValue, invoke, longValue, random, setSeed, toStringbyteValue, shortValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThen, get, getAsDoublepublic double getExpected()
public double getVariance()
RandomNumbergetVariance in interface DistributiongetVariance in class RandomNumberDistribution.getStandardDeviation(),
Distribution.getVariance()protected double generate()
generate in class RandomNumberRandomNumber.generate()Copyright © 2018 Optimatika. All rights reserved.