cloudy
trunk
|
#include <integrate.h>
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 | |
T | m_f |
double | m_a |
double | m_b |
double | m_sum |
long | m_n |
Definition at line 100 of file integrate.h.
|
inline |
Definition at line 107 of file integrate.h.
|
inline |
Definition at line 132 of file integrate.h.
References integrate::Trapezium< T >::m_n.
|
inline |
Definition at line 108 of file integrate.h.
References integrate::Trapezium< T >::m_a, integrate::Trapezium< T >::m_b, integrate::Trapezium< T >::m_f, integrate::Trapezium< T >::m_n, integrate::Trapezium< T >::m_sum, and integrate::Trapezium< T >::NREF.
|
inline |
Definition at line 128 of file integrate.h.
References integrate::Trapezium< T >::m_sum.
|
private |
Definition at line 103 of file integrate.h.
Referenced by integrate::Trapezium< T >::step().
|
private |
Definition at line 103 of file integrate.h.
Referenced by integrate::Trapezium< T >::step().
|
private |
Definition at line 102 of file integrate.h.
Referenced by integrate::Trapezium< T >::step().
|
private |
Definition at line 104 of file integrate.h.
Referenced by integrate::Trapezium< T >::evals(), and integrate::Trapezium< T >::step().
|
private |
Definition at line 103 of file integrate.h.
Referenced by integrate::Trapezium< T >::step(), and integrate::Trapezium< T >::sum().
|
static |
Definition at line 106 of file integrate.h.
Referenced by integrate::Trapezium< T >::step().