Public Member Functions | |
double | operator() (const double &x) const |
Evaluation of the polynomial. | |
Polynomial () | |
Default constructor (needed for construction of a vector) | |
Polynomial (const std::vector< double > &coefficients) | |
Private Attributes | |
std::vector< double > | theCoeffs |
Helper class for construction & evaluation of a polynomial
Definition at line 24 of file GsfBetheHeitlerUpdator.h.
GsfBetheHeitlerUpdator::Polynomial::Polynomial | ( | ) | [inline] |
Default constructor (needed for construction of a vector)
Definition at line 27 of file GsfBetheHeitlerUpdator.h.
{}
GsfBetheHeitlerUpdator::Polynomial::Polynomial | ( | const std::vector< double > & | coefficients | ) | [inline] |
Constructor from a vector of coefficients (in decreasing order of powers of x)
Definition at line 31 of file GsfBetheHeitlerUpdator.h.
: theCoeffs(coefficients) {}
double GsfBetheHeitlerUpdator::Polynomial::operator() | ( | const double & | x | ) | const [inline] |
std::vector<double> GsfBetheHeitlerUpdator::Polynomial::theCoeffs [private] |
Definition at line 41 of file GsfBetheHeitlerUpdator.h.
Referenced by operator()().