1 #ifndef PhysicsTools_Utilities_Polynomial_h 2 #define PhysicsTools_Utilities_Polynomial_h 6 template <
unsigned int n>
15 std::shared_ptr<double>
c0_;
19 template <
unsigned int n>
21 template <
unsigned int n>
24 template <
unsigned int n>
27 template <
unsigned int n>
29 return *c0_ +
x * poly_(
x);
45 std::shared_ptr<double>
c0_;
60 std::shared_ptr<double>
c0_;
70 Polynomial(std::shared_ptr<double>
c0, std::shared_ptr<double>
c1, std::shared_ptr<double> c2)
77 std::shared_ptr<double>
c0_;
double operator()(double x) const
std::shared_ptr< double > c0_
std::shared_ptr< double > c0_
std::shared_ptr< double > c0_
Polynomial(const Parameter &c0)
double operator()(double x) const
Polynomial(const Parameter &c0, const Parameter &c1)
double operator()() const
Polynomial(const Parameter *c)
Polynomial(std::shared_ptr< double > c0, std::shared_ptr< double > c1, std::shared_ptr< double > c2)
Polynomial(std::shared_ptr< double > c0, std::shared_ptr< double > c1)
Polynomial(const double *c)
Polynomial(const std::shared_ptr< double > *c)
Polynomial(const std::shared_ptr< double > *c)
Polynomial< n - 1 > poly_
Polynomial(const double *c)
std::shared_ptr< double > c0_
Polynomial(double c0, double c1)
Polynomial(std::shared_ptr< double > c0)
Polynomial(const Parameter *c)
double operator()(double x) const
double operator()(double x) const
Polynomial(const double *c)
Polynomial(const Parameter *c)
Polynomial(const Parameter &c0, const Parameter &c1, const Parameter &c2)
Polynomial(const std::shared_ptr< double > *c)
Polynomial(const double *c)
Polynomial(double c0, double c1, double c2)