#include <TDFun.h>
|
| TDFun () |
|
| TDFun (const double &, const double &) |
|
| ~TDFun () |
|
void | Init () |
|
void | Init (const double &, const double &) |
|
double | EvalSpline (const double &z) |
|
double | Eval (const double &z) |
|
double | Eval (const double &z, const double &b2, const double &D0) |
|
double | EvalSoft (const double &x) |
|
double | EvalSoft (const double &x, const double &b2, const double &D0) |
|
Definition at line 7 of file TDFun.h.
◆ TDFun() [1/2]
◆ TDFun() [2/2]
TDFun::TDFun |
( |
const double & | , |
|
|
const double & | ) |
◆ ~TDFun()
◆ Eval() [1/2]
double TDFun::Eval |
( |
const double & | z | ) |
|
|
inline |
Definition at line 23 of file TDFun.h.
23 {
25
26
28 fb2*
fb2/8*(4*(1+z)*log(x)+(1+3*z*z)/x*log1p(-x)+5+z);
29 return D;
30 }
◆ Eval() [2/2]
double TDFun::Eval |
( |
const double & | z, |
|
|
const double & | b2, |
|
|
const double & | D0 ) |
|
inline |
Definition at line 32 of file TDFun.h.
32 {
34
35
36 double D = b2*pow(x,b2-1)*D0 - 0.5*b2*(1+z) -
37 b2*b2/8*(4*(1+z)*log(x)+(1+3*z*z)/x*log1p(-x)+5+z);
38 return D;
39 }
◆ EvalSoft() [1/2]
double TDFun::EvalSoft |
( |
const double & | x | ) |
|
|
inline |
Definition at line 41 of file TDFun.h.
41 {
43 double lx = log(x);
46
47
48 double D =
fD0 - t2*(0.5*(1+z) +
fb2/8*( 4*(1+z)*lx + 4 + (1+z))) -
49 fb2/8*t1*(1+3*z*z)*log1p(-x);
50 return D;
51 }
EvtComplex exp(const EvtComplex &c)
◆ EvalSoft() [2/2]
double TDFun::EvalSoft |
( |
const double & | x, |
|
|
const double & | b2, |
|
|
const double & | D0 ) |
|
inline |
Definition at line 53 of file TDFun.h.
53 {
55 double lx = log(x);
56 double t1 =
exp(-b2*lx);
58
59
60 double D = D0 - t2*(0.5*(1+z) + b2/8*( 4*(1+z)*lx + 4 + (1+z))) -
61 b2/8*t1*(1+3*z*z)*log1p(-x);
62 return D;
63 }
◆ EvalSpline()
double TDFun::EvalSpline |
( |
const double & | z | ) |
|
|
inline |
Definition at line 21 of file TDFun.h.
double Eval(double x) const
◆ Init() [1/2]
◆ Init() [2/2]
void TDFun::Init |
( |
const double & | , |
|
|
const double & | ) |
◆ fb2
◆ fd
◆ fD0
◆ fxmax
◆ fxmin
The documentation for this class was generated from the following file: