|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.doodleproject.numerics4j.random.AbstractContinuousRandomVariable net.sf.doodleproject.numerics4j.random.TRandomVariable
public class TRandomVariable
A random variable generator for Student's t distribution.
References:
Constructor Summary | |
---|---|
TRandomVariable()
Default constructor. |
|
TRandomVariable(double df)
Create a random variable with the given degrees of freedom. |
|
TRandomVariable(double df,
RNG source)
Create a random variable with the given parameters. |
Method Summary | |
---|---|
double |
nextRandomVariable()
Access the next random variable from this generator. |
static double |
nextRandomVariable(double df,
RNG source)
Access the next random variable using the given generator. |
Methods inherited from class net.sf.doodleproject.numerics4j.random.AbstractContinuousRandomVariable |
---|
getSource, nextRandomNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TRandomVariable()
public TRandomVariable(double df)
df
- degrees of freedom.public TRandomVariable(double df, RNG source)
df
- degrees of freedom.source
- the source generator.Method Detail |
---|
public static double nextRandomVariable(double df, RNG source)
df
- degrees of freedom.source
- the source generator.
public double nextRandomVariable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |