cloudy
trunk
|
#include <integrate.h>
Public Member Functions | |
Midpoint (const T &f, double a, double b) | |
void | step () |
double | sum () const |
long | evals () const |
Static Public Attributes | |
static const int | NREF =3 |
Private Attributes | |
T | m_f |
double | m_a |
double | m_b |
double | m_sum |
long | m_n |
Definition at line 139 of file integrate.h.
|
inline |
Definition at line 146 of file integrate.h.
|
inline |
Definition at line 174 of file integrate.h.
References integrate::Midpoint< T >::m_n.
|
inline |
Definition at line 147 of file integrate.h.
References integrate::Midpoint< T >::m_a, integrate::Midpoint< T >::m_b, integrate::Midpoint< T >::m_f, integrate::Midpoint< T >::m_n, integrate::Midpoint< T >::m_sum, integrate::Midpoint< T >::NREF, x1, and x2.
|
inline |
Definition at line 170 of file integrate.h.
References integrate::Midpoint< T >::m_sum.
|
private |
Definition at line 142 of file integrate.h.
Referenced by integrate::Midpoint< T >::step().
|
private |
Definition at line 142 of file integrate.h.
Referenced by integrate::Midpoint< T >::step().
|
private |
Definition at line 141 of file integrate.h.
Referenced by integrate::Midpoint< T >::step().
|
private |
Definition at line 143 of file integrate.h.
Referenced by integrate::Midpoint< T >::evals(), and integrate::Midpoint< T >::step().
|
private |
Definition at line 142 of file integrate.h.
Referenced by integrate::Midpoint< T >::step(), and integrate::Midpoint< T >::sum().
|
static |
Definition at line 145 of file integrate.h.
Referenced by integrate::Midpoint< T >::step().