Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

integrator Class Template Reference

#include <integrate.h>

List of all members.

Public Types

enum  type {
  CLOSED, OPEN, SQRTLOWER, SQRTUPPER,
  INFINITE, EXP
}

Public Methods

 integrator (type t_=CLOSED)
integrator& closed ()
integrator& open ()
integrator& sqrtlower ()
integrator& sqrtupper ()
integrator& infinite ()
integrator& exp ()
integrator& method (type t_)
template<class F, class N> Y operator() (F f, double a, double b, N norm)
template<class F> Y operator() (F f, double a, double b)

Public Attributes

unsigned order
unsigned recursion_limit
double abs_tolerance
double rel_tolerance
r

Private Types

typedef pair<double,Y> entry

Private Methods

int qswap (double &a, double &b)
template<class F, class N> void romberg_closed (F f, double a, double b, N n, void(integrator< Y >::*method)(F, double, double, int))
template<class F, class N> void romberg_open (F f, double a, double b, N n, void(integrator< Y >::*method)(F, double, double, int))
template<class F> void cl (F f, double a, double b, int step)
template<class F> void op (F f, double a, double b, int step)
template<class F> void sl (F f, double a, double b, int step)
template<class F> void su (F f, double a, double b, int step)
template<class F> void in (F f, double a, double b, int step)
template<class F> void ex (F f, double a, double b, int step)

Private Attributes

type t
pair<Y,Y> result
vector<entrys
poly_fit<Y> p
default_norm<Y> norm
struct {
template<class F> Y sql (F f, double x, double a)
template<class F> Y squ (F f, double x, double b)
template<class F> Y inv (F f, double x)
template<class F> Y exf (F f, double x)
   Y   r
Func

template<class Y> class integrator


Member Typedef Documentation

template<class Y>
typedef pair< double, Y > integrator<Y>::entry<double,Y> [private]
 

Definition at line 214 of file integrate.h.


Member Enumeration Documentation

template<class Y>
enum integrator<Y>::type
 

Enumeration values:
CLOSED  
OPEN  
SQRTLOWER  
SQRTUPPER  
INFINITE  
EXP  

Definition at line 141 of file integrate.h.


Constructor & Destructor Documentation

template<class Y>
integrator< Y >::integrator<Y> ( integrator< Y >::type t_ = CLOSED ) [inline, explicit]
 

Definition at line 45 of file num_integrate.h.


Member Function Documentation

template<class Y>
template<class F>
void integrator< Y >::cl ( F f,
double a,
double b,
int step ) [inline, private]
 

Definition at line 217 of file num_integrate.h.

template<class Y>
integrator<Y> & integrator<Y>::closed ( ) [inline]
 

Definition at line 174 of file integrate.h.

template<class Y>
template<class F>
void integrator< Y >::ex ( F f,
double a,
double b,
int step ) [inline, private]
 

Definition at line 368 of file num_integrate.h.

template<class Y>
integrator<Y> & integrator<Y>::exp ( ) [inline]
 

Definition at line 179 of file integrate.h.

Referenced by supcond().

template<class Y>
template<class F>
void integrator< Y >::in ( F f,
double a,
double b,
int step ) [inline, private]
 

Definition at line 332 of file num_integrate.h.

template<class Y>
integrator<Y> & integrator<Y>::infinite ( ) [inline]
 

Definition at line 178 of file integrate.h.

template<class Y>
integrator<Y> & integrator<Y>::method ( type t_ ) [inline]
 

Definition at line 180 of file integrate.h.

template<class Y>
template<class F>
void integrator< Y >::op ( F f,
double a,
double b,
int step ) [inline, private]
 

Definition at line 240 of file num_integrate.h.

template<class Y>
integrator<Y> & integrator<Y>::open ( ) [inline]
 

Definition at line 175 of file integrate.h.

template<class Y>
template<class F>
Y integrator<Y>::operator() ( F f,
double a,
double b ) [inline]
 

Definition at line 201 of file integrate.h.

template<class Y>
template<class F, class N>
Y integrator< Y >::operator() ( F f,
double a,
double b,
N norm ) [inline]
 

Definition at line 107 of file num_integrate.h.

template<class Y>
int integrator<Y>::qswap ( double & a,
double & b ) [inline, private]
 

Definition at line 223 of file integrate.h.

Referenced by operator()().

template<class Y>
template<class F, class N>
void integrator< Y >::romberg_closed ( F f,
double a,
double b,
N norm,
void(integrator< Y >::* method)(F, double, double, int) ) [inline, private]
 

Definition at line 146 of file num_integrate.h.

Referenced by operator()().

template<class Y>
template<class F, class N>
void integrator< Y >::romberg_open ( F f,
double a,
double b,
N norm,
void(integrator< Y >::* method)(F, double, double, int) ) [inline, private]
 

Definition at line 180 of file num_integrate.h.

Referenced by operator()().

template<class Y>
template<class F>
void integrator< Y >::sl ( F f,
double a,
double b,
int step ) [inline, private]
 

Definition at line 268 of file num_integrate.h.

template<class Y>
integrator<Y> & integrator<Y>::sqrtlower ( ) [inline]
 

Definition at line 176 of file integrate.h.

Referenced by supcond().

template<class Y>
integrator<Y> & integrator<Y>::sqrtupper ( ) [inline]
 

Definition at line 177 of file integrate.h.

Referenced by supcond().

template<class Y>
template<class F>
void integrator< Y >::su ( F f,
double a,
double b,
int step ) [inline, private]
 

Definition at line 300 of file num_integrate.h.


Member Data Documentation

struct { ... } integrator::Func [private]
 

template<class Y>
double integrator<Y>::abs_tolerance
 

Definition at line 169 of file integrate.h.

template<class Y>
default_norm< Y > integrator<Y>::norm<Y> [private]
 

Definition at line 219 of file integrate.h.

template<class Y>
unsigned integrator<Y>::order
 

Definition at line 164 of file integrate.h.

template<class Y>
poly_fit< Y > integrator<Y>::p<Y> [private]
 

Definition at line 216 of file integrate.h.

template<class Y>
Y integrator<Y>::r
 

Definition at line 243 of file integrate.h.

template<class Y>
unsigned integrator<Y>::recursion_limit
 

Definition at line 165 of file integrate.h.

template<class Y>
double integrator<Y>::rel_tolerance
 

Definition at line 170 of file integrate.h.

template<class Y>
pair< Y, Y > integrator<Y>::result<Y,Y> [private]
 

Definition at line 213 of file integrate.h.

template<class Y>
vector< entry > integrator<Y>::s<entry> [private]
 

Definition at line 215 of file integrate.h.

template<class Y>
type integrator<Y>::t [private]
 

Definition at line 212 of file integrate.h.


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

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7