|
SSJ V. 1.2.0. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.probdist.ContinuousDistribution2Dim
public abstract class ContinuousDistribution2Dim
Classes implementing 2-dimensionnal continuous distributions should inherit from this class. Such distributions are characterized by a density function f (x, y), thus the signature of a density method is supplied here. This class also provides a default implementation of bar(F)(x, y), the upper CDF. The inverse function F-1(u) represents a curve y = h(x) of constant u. Thus it is not implemented here. The integer decPrec defines the target number of decimals of precision when approximating a distribution function, but there is no guarantee that this target is always attained.
Field Summary | |
---|---|
int |
decPrec
|
Constructor Summary | |
---|---|
ContinuousDistribution2Dim()
|
Method Summary | |
---|---|
double |
barF(double x,
double y)
. |
abstract double |
cdf(double x,
double y)
. |
abstract double |
density(double x,
double y)
Returns f (x, y), the density of (X, Y) evaluated at (x, y). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int decPrec
Constructor Detail |
---|
public ContinuousDistribution2Dim()
Method Detail |
---|
public abstract double density(double x, double y)
x
- value x at which the density is evaluatedy
- value y at which the density is evaluated
public abstract double cdf(double x, double y)
x
- value x at which the distribution function is evaluatedy
- value y at which the distribution function is evaluated
public double barF(double x, double y)
x
- value x at which the upper distribution is evaluatedy
- value y at which the upper distribution is evaluated
|
SSJ V. 1.2.0. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |