CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
funct::NumericalIntegral< Integrator, F, X > Struct Template Reference

#include <Integral.h>

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 35 of file Integral.h.

Constructor & Destructor Documentation

◆ NumericalIntegral()

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 36 of file Integral.h.

36 : f_(f), integrator_(integrator) {}
Integrator integrator_
Definition: Integral.h:51
double f[11][100]

Member Function Documentation

◆ operator()()

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

◆ f_

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

◆ integrator_

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