GammaLib 2.0.0
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from GFunction
 GFunction (void)
 Void constructor.
 
 GFunction (const GFunction &function)
 Copy constructor.
 
virtual ~GFunction (void)
 Destructor.
 
GFunctionoperator= (const GFunction &function)
 Assignment operator.
 

Protected Attributes

const GObservationm_parent
 Observation.
 
const GModelm_model
 Model.
 
GModelParm_par
 Model parameter.
 

Additional Inherited Members

- Protected Member Functions inherited from GFunction
void init_members (void)
 Initialise class members.
 
void copy_members (const GFunction &function)
 Copy class members.
 
void free_members (void)
 Delete class members.
 

Detailed Description

Definition at line 207 of file GObservation.hpp.

Constructor & Destructor Documentation

◆ npred_func()

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

Definition at line 209 of file GObservation.hpp.

Member Function Documentation

◆ eval()

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

Npred function evaluation for gradient computation.

Parameters
[in]xFunction value.

Implements GFunction.

Definition at line 1891 of file GObservation.cpp.

References GObservation::npred().

Member Data Documentation

◆ m_model

const GModel* GObservation::npred_func::m_model
protected

Model.

Definition at line 218 of file GObservation.hpp.

◆ m_par

GModelPar* GObservation::npred_func::m_par
protected

Model parameter.

Definition at line 219 of file GObservation.hpp.

◆ m_parent

const GObservation* GObservation::npred_func::m_parent
protected

Observation.

Definition at line 217 of file GObservation.hpp.


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