1 #include "VariateurF.h"
4 /*----------------------------------------------------------------------*\
6 \*---------------------------------------------------------------------*/
8 /*--------------------------------------*\
10 \*-------------------------------------*/
12 /*--------------------------------------*\
14 \*-------------------------------------*/
16 /*----------------------------------------------------------------------*\
18 \*---------------------------------------------------------------------*/
20 /*--------------------------------------*\
22 \*-------------------------------------*/
24 VariateurF::VariateurF(const IntervalF
& range
, float dt
)
31 this->isCroisssantPhase
= true;
37 VariateurF::VariateurF()
42 VariateurF::~VariateurF()
47 double VariateurF::varierAndGet()
49 if (isCroisssantPhase
)
53 isCroisssantPhase
= false;
65 isCroisssantPhase
= true;
77 double VariateurF::get()
82 /*--------------------------------------*\
84 \*-------------------------------------*/
86 /*----------------------------------------------------------------------*\
88 \*---------------------------------------------------------------------*/