ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
integrate_wrap.hpp File Reference

(Last Changed on November 30, 2016 for git-revision 5ba5993388fbc28d52110d4b916af384ffc14451.)

#include <df1b2fun.h>
#include "integrate.hpp"

Go to the source code of this file.

Macros

#define FALSE   false
 
#define INTEGRATE0(FUN)
 
#define INTEGRATE1(FUN, par)
 
#define LTAIL0(FUN)
 
#define LTAIL1(FUN, par)
 
#define LTAIL2(FUN, par1, par2)
 
#define TRUE   true
 

Macro Definition Documentation

#define FALSE   false

Definition at line 3 of file integrate_wrap.hpp.

Referenced by rdqagie(), and rdqagse().

#define INTEGRATE0 (   FUN)
Value:
template<class Float> \
Float integrate##FUN(Float from, Float to){ \
FUN<Float> f; \
Float ans = 0.0; \
return integrate(f,from,to); \
} \
TINYFUN2(integrate##FUN,from,to)
Integrand::Scalar integrate(Integrand f, typename Integrand::Scalar a=-INFINITY, typename Integrand::Scalar b=INFINITY, control c=control())
Integrate function over finite or infinite interval.
Definition: integrate.hpp:158
#define TINYFUN2(FUN, par1, par2)
Definition: tiny_wrap.hpp:58

Definition at line 40 of file integrate_wrap.hpp.

#define INTEGRATE1 (   FUN,
  par 
)
Value:
template<class Float> \
Float integrate##FUN(Float from, Float to, Float par){ \
FUN<Float> f; \
f.par=par; \
Float ans = 0.0; \
return integrate(f,from,to); \
} \
TINYFUN3(integrate##FUN,from,to,par)
Integrand::Scalar integrate(Integrand f, typename Integrand::Scalar a=-INFINITY, typename Integrand::Scalar b=INFINITY, control c=control())
Integrate function over finite or infinite interval.
Definition: integrate.hpp:158
#define TINYFUN3(FUN, par1, par2, par3)
Definition: tiny_wrap.hpp:6

Definition at line 20 of file integrate_wrap.hpp.

#define LTAIL0 (   FUN)
Value:
template<class Float> \
Float ltail##FUN(Float to){ \
FUN<Float> f; \
Float ans = 0.0; \
return integrate(f,-INFINITY,to); \
} \
TINYFUN1(ltail##FUN,to)
#define TINYFUN1(FUN, par1)
Definition: tiny_wrap.hpp:107
Integrand::Scalar integrate(Integrand f, typename Integrand::Scalar a=-INFINITY, typename Integrand::Scalar b=INFINITY, control c=control())
Integrate function over finite or infinite interval.
Definition: integrate.hpp:158

Definition at line 49 of file integrate_wrap.hpp.

#define LTAIL1 (   FUN,
  par 
)
Value:
template<class Float> \
Float ltail##FUN(Float to, Float par){ \
FUN<Float> f; \
f.par=par; \
Float ans = 0.0; \
return integrate(f,-INFINITY,to); \
} \
TINYFUN2(ltail##FUN,to,par)
Integrand::Scalar integrate(Integrand f, typename Integrand::Scalar a=-INFINITY, typename Integrand::Scalar b=INFINITY, control c=control())
Integrate function over finite or infinite interval.
Definition: integrate.hpp:158
#define TINYFUN2(FUN, par1, par2)
Definition: tiny_wrap.hpp:58

Definition at line 30 of file integrate_wrap.hpp.

#define LTAIL2 (   FUN,
  par1,
  par2 
)
Value:
template<class Float> \
Float ltail##FUN(Float to, Float par1, Float par2){ \
FUN<Float> f; \
f.par1=par1; \
f.par2=par2; \
Float ans = 0.0; \
return integrate(f,-INFINITY,to); \
} \
TINYFUN3(ltail##FUN,to,par1,par2)
Integrand::Scalar integrate(Integrand f, typename Integrand::Scalar a=-INFINITY, typename Integrand::Scalar b=INFINITY, control c=control())
Integrate function over finite or infinite interval.
Definition: integrate.hpp:158
#define TINYFUN3(FUN, par1, par2, par3)
Definition: tiny_wrap.hpp:6

Definition at line 9 of file integrate_wrap.hpp.

#define TRUE   true

Definition at line 4 of file integrate_wrap.hpp.

Referenced by rdqagie(), and rdqagse().