GammaLib  2.1.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GModelSpectralMultiplicative::flux_kern Class Reference

#include <GModelSpectralMultiplicative.hpp>

Inheritance diagram for GModelSpectralMultiplicative::flux_kern:
GFunction GModelSpectralMultiplicative::eflux_kern

Public Member Functions

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

std::vector< GModelSpectral * > m_spec
 Spectral models. 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 99 of file GModelSpectralMultiplicative.hpp.

Constructor & Destructor Documentation

GModelSpectralMultiplicative::flux_kern::flux_kern ( std::vector< GModelSpectral * >  spec)
inline

Definition at line 102 of file GModelSpectralMultiplicative.hpp.

Member Function Documentation

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

Implements GFunction.

Reimplemented in GModelSpectralMultiplicative::eflux_kern.

Definition at line 105 of file GModelSpectralMultiplicative.hpp.

References m_spec.

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

Member Data Documentation

std::vector<GModelSpectral*> GModelSpectralMultiplicative::flux_kern::m_spec
protected

Spectral models.

Definition at line 116 of file GModelSpectralMultiplicative.hpp.

Referenced by eval().


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