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

#include <integrate.h>

Collaboration diagram for integrate::Simple< T >:

Public Member Functions

 Simple (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::Simple< T >::Simple ( const T &  f)
inlineexplicit

Member Function Documentation

template<class T >
double integrate::Simple< T >::error ( ) const
inline
template<class T >
long integrate::Simple< T >::evals ( ) const
inline
template<class T >
double integrate::Simple< T >::sum ( ) const
inline
template<class T >
void integrate::Simple< T >::update ( double  eps)
inline

Member Data Documentation

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

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