KASKADE 7 development version
|
#include <modelfunction.hh>
Definition at line 56 of file modelfunction.hh.
Public Member Functions | |
PolynomialModel (std::vector< double > defaults) | |
PolynomialModel (int degree_, int maxels_=10000000) | |
virtual double | getValue (double abscissa) |
Compute value of the model function at abscissa. More... | |
double | getAbscissa (double value) |
Compute abscissa corresponding to a value. This is of course only possible for monotone functions. More... | |
std::vector< double > const & | getCoefficients () |
virtual void | update (double abscissa, double value) |
Add new value to the sample points, will be overwritten by the next update, until fixUpdate() is called. More... | |
virtual double | getIntegral (double high, double low) |
Compute integral of the model function from low to high. More... | |
virtual void | fixUpdate () |
fix the last updated value and thus increase the number of sampling points More... | |
void | setDataStart (int ds) |
Protected Member Functions | |
virtual void | computeCoefficients () |
virtual double | getDataVal (int i) |
virtual double | getDataAbsc (int i) |
virtual double | getScaling (int i) |
Protected Attributes | |
int | degree |
std::vector< double > | coefficients |
int | maxels |
LoggedQuantity< std::pair< double, double > > | data |
bool | modified |
int | datastart |
|
inline |
Definition at line 59 of file modelfunction.hh.
|
inline |
Definition at line 63 of file modelfunction.hh.
|
inlineprotectedvirtual |
Reimplemented in Kaskade::OmegaModel, Kaskade::EtaModel, and Kaskade::JModel.
Definition at line 90 of file modelfunction.hh.
Referenced by Kaskade::OmegaModel::computeCoefficients(), Kaskade::EtaModel::computeCoefficients(), Kaskade::JModel::computeCoefficients(), Kaskade::LogLogModel::getIntegral(), and getValue().
|
inlinevirtualinherited |
fix the last updated value and thus increase the number of sampling points
Definition at line 40 of file modelfunction.hh.
|
inlinevirtual |
Compute abscissa corresponding to a value. This is of course only possible for monotone functions.
Reimplemented from Kaskade::ScalarModelFunction.
Reimplemented in Kaskade::TransformedPolynomialModel.
Definition at line 80 of file modelfunction.hh.
|
inline |
Definition at line 86 of file modelfunction.hh.
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::TransformedPolynomialModel, and Kaskade::JModel.
Definition at line 47 of file modelfunction.hh.
Referenced by computeCoefficients().
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::TransformedPolynomialModel, and Kaskade::JModel.
Definition at line 46 of file modelfunction.hh.
Referenced by computeCoefficients().
|
inlinevirtualinherited |
Compute integral of the model function from low to high.
Reimplemented in Kaskade::LogLogModel.
Definition at line 34 of file modelfunction.hh.
|
inlineprotectedvirtualinherited |
Reimplemented in Kaskade::JModel.
Definition at line 48 of file modelfunction.hh.
Referenced by computeCoefficients().
|
inlinevirtual |
Compute value of the model function at abscissa.
Implements Kaskade::ScalarModelFunction.
Reimplemented in Kaskade::TransformedPolynomialModel.
Definition at line 67 of file modelfunction.hh.
Referenced by Kaskade::TransformedPolynomialModel::getValue().
|
inlineinherited |
Definition at line 44 of file modelfunction.hh.
Referenced by Kaskade::JModel::JModel().
|
inlinevirtualinherited |
Add new value to the sample points, will be overwritten by the next update, until fixUpdate() is called.
Reimplemented in Kaskade::JModel.
Definition at line 28 of file modelfunction.hh.
|
protected |
Definition at line 119 of file modelfunction.hh.
Referenced by computeCoefficients(), Kaskade::OmegaModel::computeCoefficients(), Kaskade::EtaModel::computeCoefficients(), getCoefficients(), and Kaskade::LogLogModel::getIntegral().
|
protectedinherited |
Definition at line 51 of file modelfunction.hh.
Referenced by computeCoefficients(), Kaskade::ScalarModelFunction::fixUpdate(), Kaskade::ScalarModelFunction::getDataAbsc(), Kaskade::TransformedPolynomialModel::getDataAbsc(), Kaskade::JModel::getDataAbsc(), Kaskade::ScalarModelFunction::getDataVal(), Kaskade::TransformedPolynomialModel::getDataVal(), Kaskade::JModel::getDataVal(), and Kaskade::JModel::getScaling().
|
protectedinherited |
Definition at line 53 of file modelfunction.hh.
Referenced by computeCoefficients(), and Kaskade::ScalarModelFunction::setDataStart().
|
protected |
Definition at line 118 of file modelfunction.hh.
Referenced by computeCoefficients(), and Kaskade::LogLogModel::getIntegral().
|
protected |
Definition at line 120 of file modelfunction.hh.
Referenced by computeCoefficients().
|
protectedinherited |
Definition at line 52 of file modelfunction.hh.
Referenced by computeCoefficients(), Kaskade::OmegaModel::computeCoefficients(), Kaskade::EtaModel::computeCoefficients(), and Kaskade::JModel::computeCoefficients().