public class R1Uniform extends R1
| Constructor and Description |
|---|
R1Uniform(double dblLeftPredictorOrdinateEdge,
double dblRightPredictorOrdinateEdge)
Construct a R^1 Bounded Uniform Distribution
|
| Modifier and Type | Method and Description |
|---|---|
double |
cumulative(double dblX)
Compute the cumulative under the distribution to the given value
|
double |
density(double dblX)
Compute the Density under the Distribution at the given Variate
|
Array2D |
histogram()
Retrieve the Univariate Weighted Histogram
|
double |
incremental(double dblXLeft,
double dblXRight)
Compute the incremental under the distribution between the 2 variates
|
double |
invCumulative(double dblY)
Compute the inverse cumulative under the distribution corresponding to the given value
|
double |
leftEdge()
Retrieve the Left Predictor Ordinate Edge
|
double |
mean()
Retrieve the Mean of the Distribution
|
double |
rightEdge()
Retrieve the Right Predictor Ordinate Edge
|
double |
variance()
Retrieve the Variance of the Distribution
|
public R1Uniform(double dblLeftPredictorOrdinateEdge,
double dblRightPredictorOrdinateEdge)
throws java.lang.Exception
dblLeftPredictorOrdinateEdge - The Left Predictor Ordinate EdgedblRightPredictorOrdinateEdge - The Right Predictor Ordinate Edgejava.lang.Exception - Thrown if the inputs are invalidpublic double leftEdge()
public double rightEdge()
public double cumulative(double dblX)
throws java.lang.Exception
R1cumulative in class R1dblX - Variate to which the cumulative is to be computedjava.lang.Exception - Thrown if the inputs are invalidpublic double incremental(double dblXLeft,
double dblXRight)
throws java.lang.Exception
R1incremental in class R1dblXLeft - Left Variate to which the cumulative is to be computeddblXRight - Right Variate to which the cumulative is to be computedjava.lang.Exception - Thrown if the inputs are invalidpublic double invCumulative(double dblY)
throws java.lang.Exception
R1invCumulative in class R1dblY - Value corresponding to which the inverse cumulative is to be computedjava.lang.Exception - Thrown if the input is invalidpublic double density(double dblX)
throws java.lang.Exception
R1public double mean()
R1public double variance()
R1