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) {}

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.

42  {
43  X::set(x);
44  return f_();
45  }

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

Member Data Documentation

◆ f_

template<typename Integrator , typename F , typename X = no_var>
F funct::NumericalIntegral< Integrator, F, X >::function::f_
private
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
DDAxes::x
funct::X::set
static void set(const double &x)
Definition: Variables.h:51
funct::NumericalIntegral::function::f_
F f_
Definition: Integral.h:48