GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GObservation::npred_func Class Reference

#include <GObservation.hpp>

Inheritance diagram for GObservation::npred_func:
GFunction

Public Member Functions

 npred_func (const GObservation *parent, const GModel *model, GModelPar *par)
 
double eval (const double &x)
 Npred 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...
 
GFunctionoperator= (const GFunction &function)
 Assignment operator. More...
 

Protected Attributes

const GObservationm_parent
 Observation. More...
 
const GModelm_model
 Model. More...
 
GModelParm_par
 Model parameter. 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...
 

Detailed Description

Definition at line 196 of file GObservation.hpp.

Constructor & Destructor Documentation

GObservation::npred_func::npred_func ( const GObservation parent,
const GModel model,
GModelPar par 
)
inline

Definition at line 198 of file GObservation.hpp.

Member Function Documentation

double GObservation::npred_func::eval ( const double &  x)
virtual

Npred function evaluation for gradient computation.

Parameters
[in]xFunction value.

Implements GFunction.

Definition at line 1408 of file GObservation.cpp.

References GObservation::npred().

Member Data Documentation

const GModel* GObservation::npred_func::m_model
protected

Model.

Definition at line 207 of file GObservation.hpp.

GModelPar* GObservation::npred_func::m_par
protected

Model parameter.

Definition at line 208 of file GObservation.hpp.

const GObservation* GObservation::npred_func::m_parent
protected

Observation.

Definition at line 206 of file GObservation.hpp.


The documentation for this class was generated from the following files: