ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
gauss_kronrod::mvIntegral< Integrand > Struct Template Reference

Multivariate integral class. More...

#include <integrate.hpp>

Classes

struct  evaluator
 

Public Types

typedef Integrand::Scalar Scalar
 

Public Member Functions

 mvIntegral (Integrand &f_, Scalar &x_, Scalar a=-INFINITY, Scalar b=INFINITY, control c_=control())
 
Scalar operator() ()
 
mvIntegral< mvIntegralwrt (Scalar &x, Scalar a=-INFINITY, Scalar b=INFINITY)
 With respect to. More...
 

Public Attributes

control c
 
struct
gauss_kronrod::mvIntegral::evaluator 
ev
 
Integral< evaluatorI
 

Detailed Description

template<class Integrand>
struct gauss_kronrod::mvIntegral< Integrand >

Multivariate integral class.

Takes Integrand (functor) as template parameter. Integrand must be a template class where:

  1. Template parameter is the integrand type.
  2. Contains a 'typedef Type Scalar;'
  3. Has an evaluation operator with void input.

Use this class if multiple integrals must be computed with different parameters. Otherwise use the 'mvIntegrate' function (see below).

Definition at line 181 of file integrate.hpp.

Member Typedef Documentation

template<class Integrand>
typedef Integrand::Scalar gauss_kronrod::mvIntegral< Integrand >::Scalar

Definition at line 182 of file integrate.hpp.

Constructor & Destructor Documentation

template<class Integrand>
gauss_kronrod::mvIntegral< Integrand >::mvIntegral ( Integrand &  f_,
Scalar x_,
Scalar  a = -INFINITY,
Scalar  b = INFINITY,
control  c_ = control() 
)
inline

Definition at line 196 of file integrate.hpp.

Member Function Documentation

template<class Integrand>
Scalar gauss_kronrod::mvIntegral< Integrand >::operator() ( void  )
inline

Definition at line 202 of file integrate.hpp.

template<class Integrand>
mvIntegral<mvIntegral> gauss_kronrod::mvIntegral< Integrand >::wrt ( Scalar x,
Scalar  a = -INFINITY,
Scalar  b = INFINITY 
)
inline

With respect to.

Definition at line 204 of file integrate.hpp.

Member Data Documentation

template<class Integrand>
control gauss_kronrod::mvIntegral< Integrand >::c

Definition at line 194 of file integrate.hpp.

Referenced by gauss_kronrod::mvIntegral< Integrand >::wrt().

template<class Integrand>
struct gauss_kronrod::mvIntegral::evaluator gauss_kronrod::mvIntegral< Integrand >::ev
template<class Integrand>
Integral<evaluator> gauss_kronrod::mvIntegral< Integrand >::I

Definition at line 195 of file integrate.hpp.

Referenced by gauss_kronrod::mvIntegral< Integrand >::operator()().


The documentation for this struct was generated from the following file: