|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.util.probability.UniformDistribution
public class UniformDistribution
An implementation of ContinuousDistribution
using a uniform distribution
| Constructor Summary | |
|---|---|
UniformDistribution(float ll,
float ul)
Creates a new instance of UniformDistribution |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Tests for the class |
float |
sample()
Returns a random value that follows a uniform distribution |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformDistribution(float ll,
float ul)
ll - The lower limit of the random variableul - The upper limit of the random variable| Method Detail |
|---|
public float sample()
sample in interface ContinuousDistributionpublic static void main(java.lang.String[] args)
args - the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.