CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
funct::NumericalIntegral< Integrator, F, X >::function Struct Reference

Public Member Functions

 function (const F &f)
 
double operator() (double x) const
 

Private Attributes

F f_
 

Detailed Description

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

Definition at line 40 of file Integral.h.

Constructor & Destructor Documentation

template<typename Integrator , typename F , typename X = no_var>
funct::NumericalIntegral< Integrator, F, X >::function::function ( const F f)
inline

Definition at line 41 of file Integral.h.

41 : f_(f) { }
double f[11][100]

Member Function Documentation

template<typename Integrator , typename F , typename X = no_var>
double funct::NumericalIntegral< Integrator, F, X >::function::operator() ( double  x) const
inline

Definition at line 42 of file Integral.h.

References funct::NumericalIntegral< Integrator, F, X >::function::f_, and funct::X::set().

42  {
43  X::set(x); return f_();
44  }
static void set(const double &x)
Definition: Variables.h:50

Member Data Documentation

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