16 TDFun(
const double&,
const double&);
19 void Init(
const double&,
const double&);
23 inline double Eval(
const double &z){
28 fb2*
fb2/8*(4*(1+z)*log(
x)+(1+3*z*z)/
x*log1p(-
x)+5+z);
32 inline double Eval(
const double &z,
const double &b2,
const double &D0){
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);
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);
53 inline double EvalSoft(
const double &x,
const double &b2,
const double &D0){
56 double t1 =
exp(-b2*lx);
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);
EvtComplex exp(const EvtComplex &c)
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)
TDFun(const double &, const double &)
double EvalSpline(const double &z)
void Init(const double &, const double &)
double Eval(const double &z)
double Eval(double x) const