public class Uniform
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
pdf(double xMin,
double xMax,
double x) |
static double |
sample(double xMin,
double xMax,
KeanuRandom random) |
public static double sample(double xMin, double xMax, KeanuRandom random)
xMin
- minimum x valuexMax
- maximum x valuerandom
- source of randomnesspublic static double pdf(double xMin, double xMax, double x)