LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Private Attributes | List of all members
lsst::afw::math::details::Int2DAuxType< BF, YREG > Class Template Reference

#include <Integrate.h>

Inheritance diagram for lsst::afw::math::details::Int2DAuxType< BF, YREG >:

Public Member Functions

 Int2DAuxType (BF const &func, YREG const &yreg, typename BF::result_type const &abserr, typename BF::result_type const &relerr)
 
BF::result_type operator() (typename BF::first_argument_type x) const
 

Private Attributes

BF const & _func
 
YREG const & _yreg
 
BF::result_type _abserr
 
BF::result_type _relerr
 

Detailed Description

template<class BF, class YREG>
class lsst::afw::math::details::Int2DAuxType< BF, YREG >

Definition at line 692 of file Integrate.h.

Constructor & Destructor Documentation

template<class BF , class YREG >
lsst::afw::math::details::Int2DAuxType< BF, YREG >::Int2DAuxType ( BF const &  func,
YREG const &  yreg,
typename BF::result_type const &  abserr,
typename BF::result_type const &  relerr 
)
inline

Definition at line 694 of file Integrate.h.

696  :
697  _func(func), _yreg(yreg), _abserr(abserr), _relerr(relerr) {}

Member Function Documentation

template<class BF , class YREG >
BF::result_type lsst::afw::math::details::Int2DAuxType< BF, YREG >::operator() ( typename BF::first_argument_type  x) const
inline

Definition at line 699 of file Integrate.h.

699  {
700  typename YREG::result_type tempreg = _yreg(x);
701  typename BF::result_type result =
702  int1d(bind21(_func, x), tempreg, _abserr, _relerr);
703  integ_dbg3 << "Evaluated int2dAux at x = " << x;
704  integ_dbg3 << ": f = " << result << " +- " << tempreg.Err() << std::endl;
705  return result;
706  }
binder2_1< BF > bind21(const BF &oper, const Tp &x)
Definition: Integrate.h:685
#define integ_dbg3
Definition: Integrate.h:184
UF::result_type int1d(UF const &func, IntRegion< typename UF::result_type > &reg, typename UF::result_type const &abserr=DEFABSERR, typename UF::result_type const &relerr=DEFRELERR)
Front end for the 1d integrator.
Definition: Integrate.h:776
double x

Member Data Documentation

template<class BF , class YREG >
BF::result_type lsst::afw::math::details::Int2DAuxType< BF, YREG >::_abserr
private

Definition at line 711 of file Integrate.h.

template<class BF , class YREG >
BF const& lsst::afw::math::details::Int2DAuxType< BF, YREG >::_func
private

Definition at line 709 of file Integrate.h.

template<class BF , class YREG >
BF::result_type lsst::afw::math::details::Int2DAuxType< BF, YREG >::_relerr
private

Definition at line 711 of file Integrate.h.

template<class BF , class YREG >
YREG const& lsst::afw::math::details::Int2DAuxType< BF, YREG >::_yreg
private

Definition at line 710 of file Integrate.h.


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