cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes
integrate::Simple< T > Class Template Reference

#include <integrate.h>

Collaboration diagram for integrate::Simple< T >:
Collaboration graph
[legend]

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
 

Detailed Description

template<class T>
class integrate::Simple< T >

Definition at line 244 of file integrate.h.

Constructor & Destructor Documentation

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

Definition at line 249 of file integrate.h.

Member Function Documentation

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

Definition at line 255 of file integrate.h.

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

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

Definition at line 259 of file integrate.h.

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

template<class T >
double integrate::Simple< T >::sum ( ) const
inline

Definition at line 251 of file integrate.h.

References integrate::Simple< T >::m_sum.

template<class T >
void integrate::Simple< T >::update ( double  eps)
inline

Definition at line 266 of file integrate.h.

Field Documentation

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

Definition at line 247 of file integrate.h.

Referenced by integrate::Simple< T >::error().

template<class T >
T integrate::Simple< T >::m_f
private

Definition at line 246 of file integrate.h.

Referenced by integrate::Simple< T >::evals().

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

Definition at line 247 of file integrate.h.

Referenced by integrate::Simple< T >::sum().


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