25package umontreal.ssj.probdist;
66 protected double gamma;
67 protected double delta;
69 protected double lambda;
78 protected JohnsonSystem(
double gamma,
double delta,
double xi,
double lambda) {
115 protected void setParams0(
double gamma,
double delta,
double xi,
double lambda) {
117 throw new IllegalArgumentException(
"lambda <= 0");
119 throw new IllegalArgumentException(
"delta <= 0");
123 this.lambda = lambda;
132 double[] retour = { gamma, delta, xi, lambda };
140 return getClass().getSimpleName() +
" : gamma = " + gamma +
", delta = " + delta +
", xi = " + xi +
", lambda = "
Classes implementing continuous distributions should inherit from this base class.
String toString()
Returns a String containing information about the current distribution.
double[] getParams()
Return an array containing the parameters of the current distribution.
double getXi()
Returns the value of .
double getLambda()
Returns the value of .
void setParams0(double gamma, double delta, double xi, double lambda)
Sets the value of the parameters , ,.
double getDelta()
Returns the value of .
double getGamma()
Returns the value of .
JohnsonSystem(double gamma, double delta, double xi, double lambda)
Constructs a JohnsonSystem object with shape parameters.