31 #ifndef _GranOO_Math_Function_Cycle_hpp_
32 #define _GranOO_Math_Function_Cycle_hpp_
57 static std::string
class_ID() {
return "Cycle";}
60 Cycle(
unsigned int varNumber,
const std::string& symbol,
const std::string
desc =
"");
61 Cycle(
const double&
x,
double lim,
double peak,
double rate);
65 double operator()(
const double&
x,
const double& lim,
const double& peak,
const double& rate);
66 double operator()(
const double&
x,
const double& lim,
const double& peak,
const double& rate,
const double& monitor);
double _peak
Definition: Cycle.hpp:80
static std::string class_ID()
Definition: Cycle.hpp:57
double operator()()
Definition: Cycle.cpp:76
double _slope
Definition: Cycle.hpp:82
double _rate
Definition: Cycle.hpp:81
double _xshift
Definition: Cycle.hpp:84
~Cycle()
Definition: Cycle.cpp:71
void swap_from_up2down(double x, double val)
Definition: Cycle.cpp:134
double _lim
Definition: Cycle.hpp:79
void swap_from_down2up(double x, double val)
Definition: Cycle.cpp:141
Mode _mode
Definition: Cycle.hpp:85
Mode
Definition: Cycle.hpp:56
@ UP
Definition: Cycle.hpp:56
@ DOWN
Definition: Cycle.hpp:56
const double * _x
Definition: Cycle.hpp:78
double _intercept
Definition: Cycle.hpp:83
Cycle & operator=(const Cycle &)=delete
Cycle(const Cycle &)=delete
Cycle(unsigned int varNumber, const std::string &symbol, const std::string desc="")
Definition: Cycle.cpp:45
unsigned int _ncycle
Definition: Cycle.hpp:86
Definition: FunctionT.hpp:48
static const char * desc
Definition: Between2SetOf.cpp:37
Definition: Common.hpp:198
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z)