CMS 3D CMS Logo

Public Member Functions | Private Attributes

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

List of all members.

Public Member Functions

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

Private Attributes

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.

: f_(f) { }

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_.

                                               {
        X::set(x); return f_();
      }

Member Data Documentation

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