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

#include <integrate.h>

Public Member Functions

 Romberg (const T &f)
 
void update (double eps)
 
double sum () const
 
double error () const
 
long evals () const
 

Private Attributes

m_f
 
double m_sum
 
double m_dy
 

Constructor & Destructor Documentation

template<class T >
integrate::Romberg< T >::Romberg ( const T &  f)
inlineexplicit

Member Function Documentation

template<class T >
double integrate::Romberg< T >::error ( ) const
inline

References integrate::Romberg< T >::m_dy.

Referenced by CS_l_mixing().

template<class T >
long integrate::Romberg< T >::evals ( ) const
inline

References integrate::Romberg< T >::m_f.

Referenced by CS_l_mixing().

template<class T >
double integrate::Romberg< T >::sum ( ) const
inline
template<class T >
void integrate::Romberg< T >::update ( double  eps)
inline

Member Data Documentation

template<class T >
double integrate::Romberg< T >::m_dy
private
template<class T >
T integrate::Romberg< T >::m_f
private
template<class T >
double integrate::Romberg< T >::m_sum
private

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