GammaLib
2.1.0.dev
|
#include <GObservation.hpp>
Public Member Functions | |
model_func (const GObservation *parent, const GModel *model, GModelPar *par, const GEvent *event) | |
double | eval (const double &x) |
Model function evaluation for gradient computation. More... | |
Public Member Functions inherited from GFunction | |
GFunction (void) | |
Void constructor. More... | |
GFunction (const GFunction &function) | |
Copy constructor. More... | |
virtual | ~GFunction (void) |
Destructor. More... | |
GFunction & | operator= (const GFunction &function) |
Assignment operator. More... | |
Protected Attributes | |
const GObservation * | m_parent |
Observation. More... | |
const GModel * | m_model |
Model. More... | |
GModelPar * | m_par |
Model parameter. More... | |
const GEvent * | m_event |
Event. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunction | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GFunction &function) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Definition at line 157 of file GObservation.hpp.
|
inline |
Definition at line 159 of file GObservation.hpp.
|
virtual |
Model function evaluation for gradient computation.
[in] | x | Function value. |
Implements GFunction.
Definition at line 1867 of file GObservation.cpp.
References GModel::eval(), GOptimizerPar::factor_value(), m_event, m_model, m_par, and m_parent.
|
protected |
|
protected |
|
protected |
|
protected |