24 template<>
double T<0> (
double ) {
return 1;}
25 template<>
double T<1> (
double x) {
return x;}
26 template<>
double T<2> (
double x) {
return 2.0*
x*
x -1;}
27 template<>
double T<3> (
double x) {
return 4.0*
x*
x*
x -3.0*
x;}
29 template<>
double Eval<0> (
double ,
const double *
c) {
return c[0];}
30 template<>
double Eval<1> (
double x,
const double *
c) {
return c[1]*
x +
c[0];}
Namespace for new Math classes and functions.
double Eval< 3 >(double x, const double *c)
double Eval< 2 >(double x, const double *c)
double Eval< 0 >(double, const double *c)
double Eval< 1 >(double x, const double *c)
Namespace for new ROOT classes and functions.