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
R1
cumulative
in class R1
dblX
- 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
R1
incremental
in class R1
dblXLeft
- 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
R1
invCumulative
in class R1
dblY
- 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
R1
public double mean()
R1
public double variance()
R1