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

#include <integrate.h>

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

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
 

Detailed Description

template<class T>
class integrate::Trapezium< T >

Definition at line 100 of file integrate.h.

Constructor & Destructor Documentation

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

Definition at line 107 of file integrate.h.

Member Function Documentation

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

Definition at line 132 of file integrate.h.

References integrate::Trapezium< T >::m_n.

template<class T >
void integrate::Trapezium< T >::step ( )
inline
template<class T >
double integrate::Trapezium< T >::sum ( ) const
inline

Definition at line 128 of file integrate.h.

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

Field Documentation

template<class T >
double integrate::Trapezium< T >::m_a
private

Definition at line 103 of file integrate.h.

Referenced by integrate::Trapezium< T >::step().

template<class T >
double integrate::Trapezium< T >::m_b
private

Definition at line 103 of file integrate.h.

Referenced by integrate::Trapezium< T >::step().

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

Definition at line 102 of file integrate.h.

Referenced by integrate::Trapezium< T >::step().

template<class T >
long integrate::Trapezium< T >::m_n
private
template<class T >
double integrate::Trapezium< T >::m_sum
private

Definition at line 103 of file integrate.h.

Referenced by integrate::Trapezium< T >::step(), and integrate::Trapezium< T >::sum().

template<class T >
const int integrate::Trapezium< T >::NREF =2
static

Definition at line 106 of file integrate.h.

Referenced by integrate::Trapezium< T >::step().


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