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::Int3DAuxType< TF, YREG, ZREG > Class Template Reference

#include <Integrate.h>

Inheritance diagram for lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >:

Public Member Functions

 Int3DAuxType (const TF &func, const YREG &yreg, const ZREG &zreg, const typename TF::result_type &abserr, const typename TF::result_type &relerr)
 
TF::result_type operator() (typename TF::firstof3_argument_type x) const
 

Private Attributes

const TF & _func
 
const YREG & _yreg
 
const ZREG & _zreg
 
TF::result_type _abserr
 
TF::result_type _relerr
 

Detailed Description

template<class TF, class YREG, class ZREG>
class lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >

Definition at line 744 of file Integrate.h.

Constructor & Destructor Documentation

template<class TF , class YREG , class ZREG >
lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::Int3DAuxType ( const TF &  func,
const YREG &  yreg,
const ZREG &  zreg,
const typename TF::result_type &  abserr,
const typename TF::result_type &  relerr 
)
inline

Definition at line 747 of file Integrate.h.

749  :
750  _func(func), _yreg(yreg), _zreg(zreg), _abserr(abserr), _relerr(relerr) {}

Member Function Documentation

template<class TF , class YREG , class ZREG >
TF::result_type lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::operator() ( typename TF::firstof3_argument_type  x) const
inline

Definition at line 752 of file Integrate.h.

752  {
753  typename YREG::result_type tempreg = _yreg(x);
754  typename TF::result_type result =
755  int2d(bind31(_func, x), tempreg, bind21(_zreg, x), _abserr, _relerr);
756  integ_dbg3 << "Evaluated int3dAux at x = " << x;
757  integ_dbg3 << ": f = " << result << " +- " << tempreg.Err() << std::endl;
758  return result;
759  }
BF::result_type int2d(BF const &func, IntRegion< typename BF::result_type > &reg, YREG const &yreg, typename BF::result_type const &abserr=DEFABSERR, typename BF::result_type const &relerr=DEFRELERR)
Front end for the 2d integrator.
Definition: Integrate.h:837
binder2_1< BF > bind21(const BF &oper, const Tp &x)
Definition: Integrate.h:685
#define integ_dbg3
Definition: Integrate.h:184
binder3_1< TF > bind31(const TF &oper, const Tp &x)
Definition: Integrate.h:737
double x

Member Data Documentation

template<class TF , class YREG , class ZREG >
TF::result_type lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::_abserr
private

Definition at line 765 of file Integrate.h.

template<class TF , class YREG , class ZREG >
const TF& lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::_func
private

Definition at line 762 of file Integrate.h.

template<class TF , class YREG , class ZREG >
TF::result_type lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::_relerr
private

Definition at line 765 of file Integrate.h.

template<class TF , class YREG , class ZREG >
const YREG& lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::_yreg
private

Definition at line 763 of file Integrate.h.

template<class TF , class YREG , class ZREG >
const ZREG& lsst::afw::math::details::Int3DAuxType< TF, YREG, ZREG >::_zreg
private

Definition at line 764 of file Integrate.h.


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