CMS 3D CMS Logo

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

◆ function()

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

◆ operator()()

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_, funct::X::set(), and x.

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

Member Data Documentation

◆ f_

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