GammaLib 2.0.0
Loading...
Searching...
No Matches
GModelSpectralExponential::flux_kern Class Reference

#include <GModelSpectralExponential.hpp>

Inheritance diagram for GModelSpectralExponential::flux_kern:
GFunction GModelSpectralExponential::eflux_kern

Public Member Functions

 flux_kern (const GModelSpectral *spec)
 
double eval (const double &x)
 
- 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 GModelSpectralm_exp
 

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 98 of file GModelSpectralExponential.hpp.

Constructor & Destructor Documentation

◆ flux_kern()

GModelSpectralExponential::flux_kern::flux_kern ( const GModelSpectral * spec)
inline

Definition at line 101 of file GModelSpectralExponential.hpp.

Member Function Documentation

◆ eval()

double GModelSpectralExponential::flux_kern::eval ( const double & x)
inlinevirtual

Implements GFunction.

Definition at line 104 of file GModelSpectralExponential.hpp.

References GModelSpectral::eval(), exp(), and m_exp.

Referenced by GModelSpectralExponential::eflux_kern::eval().

Member Data Documentation

◆ m_exp

const GModelSpectral* GModelSpectralExponential::flux_kern::m_exp
protected

Definition at line 111 of file GModelSpectralExponential.hpp.

Referenced by eval().


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