Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template interval

boost::numeric::quadrature::interval — Keeps track of a sub-interval of the full integration range.

Synopsis

template<typename Domain, typename Image, typename KernelSpace> 
class interval {
public:
  // types
  typedef Image       image;       
  typedef Domain      domain;      
  typedef unspecified scalar_image;

  // public member functions
   BOOST_STATIC_ASSERT(unspecified) ;
   BOOST_STATIC_ASSERT(unspecified) ;
  void set_domain(typename call_traits< Domain >::param_type, 
                  typename call_traits< Domain >::param_type) ;
  template<typename Result, typename Abserr, typename Bound> 
    void set(const Result &, const Abserr &, const Bound &) ;
  void lower_bound(typename call_traits< Domain >::param_type) ;
  void upper_bound(typename call_traits< Domain >::param_type) ;
  call_traits< Domain >::const_reference lower_bound() const;
  call_traits< Domain >::const_reference upper_bound() const;
  Domain midpoint() const;
  Domain span() const;
  call_traits< Image >::const_reference value() const;
  call_traits< Image >::const_reference error() const;
  KernelSpace & kernel_space() ;
  boost::call_traits< scalar_image >::const_reference scaled_error() const;
};

Description

interval public member functions

  1.  BOOST_STATIC_ASSERT(unspecified) ;
  2.  BOOST_STATIC_ASSERT(unspecified) ;
  3. void set_domain(typename call_traits< Domain >::param_type aa, 
                    typename call_traits< Domain >::param_type bb) ;
  4. template<typename Result, typename Abserr, typename Bound> 
      void set(const Result & integral, const Abserr & abserr, 
               const Bound & bound) ;

    for non scalar integrands, the absolute error is scaled by the error bound.

    Parameters:
    abserr

    the estimate of the absolute error

    bound

    the bound that is trying to be achieved

    integral

    the estimate of the integral

  5. void lower_bound(typename call_traits< Domain >::param_type aa) ;
  6. void upper_bound(typename call_traits< Domain >::param_type bb) ;
  7. call_traits< Domain >::const_reference lower_bound() const;
  8. call_traits< Domain >::const_reference upper_bound() const;
  9. Domain midpoint() const;
  10. Domain span() const;
  11. call_traits< Image >::const_reference value() const;
  12. call_traits< Image >::const_reference error() const;
  13. KernelSpace & kernel_space() ;
  14. boost::call_traits< scalar_image >::const_reference scaled_error() const;
Copyright © 2007 Hugo Duncan

PrevUpHomeNext