1 #ifndef UNIFORMDISTRIBUTION2D_H
3 #define UNIFORMDISTRIBUTION2D_H
23 double pickMarginalX()
const {
return m_xDist.
pickNumber(); }
24 double pickMarginalY()
const {
return m_yDist.
pickNumber(); }
25 double pickConditionalOnX(
double x)
const {
return m_yDist.
pickNumber(); }
26 double pickConditionalOnY(
double y)
const {
return m_xDist.
pickNumber(); }
28 double getXMin()
const {
return m_xDist.getMin(); }
29 double getXMax()
const {
return m_xDist.getMax(); }
30 double getYMin()
const {
return m_yDist.getMin(); }
31 double getYMax()
const {
return m_yDist.getMax(); }
37 double minValueY,
double maxValueY,
39 m_xDist(minValueX, maxValueX, pRng),
40 m_yDist(minValueY, maxValueY, pRng)
52 #endif // UNIFORMDISTRIBUTION_H
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16
Abstract base class for 2D probability distribution implementations so that they can be used intercha...
Definition: probabilitydistribution2d.h:17