CMS 3D CMS Logo

Classes | Public Member Functions | Private Attributes

funct::NumericalIntegral< Integrator, F, X > Struct Template Reference

#include <Integral.h>

List of all members.

Classes

struct  function

Public Member Functions

 NumericalIntegral (const F &f, const Integrator &integrator)
double operator() (double min, double max) const

Private Attributes

function f_
Integrator integrator_

Detailed Description

template<typename Integrator, typename F, typename X = no_var>
struct funct::NumericalIntegral< Integrator, F, X >

Definition at line 33 of file Integral.h.


Constructor & Destructor Documentation

template<typename Integrator , typename F , typename X = no_var>
funct::NumericalIntegral< Integrator, F, X >::NumericalIntegral ( const F &  f,
const Integrator &  integrator 
) [inline]

Definition at line 34 of file Integral.h.

                                                                 : 
      f_(f), integrator_(integrator) { }

Member Function Documentation

template<typename Integrator , typename F , typename X = no_var>
double funct::NumericalIntegral< Integrator, F, X >::operator() ( double  min,
double  max 
) const [inline]

Member Data Documentation

template<typename Integrator , typename F , typename X = no_var>
function funct::NumericalIntegral< Integrator, F, X >::f_ [private]
template<typename Integrator , typename F , typename X = no_var>
Integrator funct::NumericalIntegral< Integrator, F, X >::integrator_ [private]