Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
integrate::Trapezium< T > Class Template Reference

#include <integrate.h>

Collaboration diagram for integrate::Trapezium< T >:

Public Member Functions

 Trapezium (const T &f, double a, double b)
 
void step ()
 
double sum () const
 
long evals () const
 

Static Public Attributes

static const int NREF =2
 

Private Attributes

m_f
 
double m_a
 
double m_b
 
double m_sum
 
long m_n
 

Constructor & Destructor Documentation

template<class T >
integrate::Trapezium< T >::Trapezium ( const T &  f,
double  a,
double  b 
)
inline

Member Function Documentation

template<class T >
long integrate::Trapezium< T >::evals ( ) const
inline
template<class T >
double integrate::Trapezium< T >::sum ( ) const
inline

Member Data Documentation

template<class T >
double integrate::Trapezium< T >::m_a
private
template<class T >
double integrate::Trapezium< T >::m_b
private
template<class T >
T integrate::Trapezium< T >::m_f
private
template<class T >
long integrate::Trapezium< T >::m_n
private
template<class T >
double integrate::Trapezium< T >::m_sum
private
template<class T >
const int integrate::Trapezium< T >::NREF =2
static

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