Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::interval< T, Policies > Class Template Reference

#include <interval.hpp>

Public Types

typedef T base_type
 
typedef Policies traits_type
 

Public Member Functions

T const & lower () const
 
T const & upper () const
 
 interval ()
 
 interval (T const &v)
 
template<class T1 >
 interval (T1 const &v)
 
 interval (T const &l, T const &u)
 
template<class T1 , class T2 >
 interval (T1 const &l, T2 const &u)
 
 interval (interval< T, Policies > const &r)
 
template<class Policies1 >
 interval (interval< T, Policies1 > const &r)
 
template<class T1 , class Policies1 >
 interval (interval< T1, Policies1 > const &r)
 
intervaloperator= (T const &v)
 
template<class T1 >
intervaloperator= (T1 const &v)
 
intervaloperator= (interval< T, Policies > const &r)
 
template<class Policies1 >
intervaloperator= (interval< T, Policies1 > const &r)
 
template<class T1 , class Policies1 >
intervaloperator= (interval< T1, Policies1 > const &r)
 
void assign (const T &l, const T &u)
 
intervaloperator+= (const T &r)
 
intervaloperator+= (const interval &r)
 
intervaloperator-= (const T &r)
 
intervaloperator-= (const interval &r)
 
intervaloperator*= (const T &r)
 
intervaloperator*= (const interval &r)
 
intervaloperator/= (const T &r)
 
intervaloperator/= (const interval &r)
 
bool operator< (const interval_holder &r) const
 
bool operator> (const interval_holder &r) const
 
bool operator<= (const interval_holder &r) const
 
bool operator>= (const interval_holder &r) const
 
bool operator== (const interval_holder &r) const
 
bool operator!= (const interval_holder &r) const
 
bool operator< (const number_holder &r) const
 
bool operator> (const number_holder &r) const
 
bool operator<= (const number_holder &r) const
 
bool operator>= (const number_holder &r) const
 
bool operator== (const number_holder &r) const
 
bool operator!= (const number_holder &r) const
 
 interval (const T &l, const T &u, bool)
 
void set_empty ()
 
void set_whole ()
 
void set (const T &l, const T &u)
 
template<class T1 >
interval< T, Policies > & operator= (T1 const &v)
 
template<class Policies1 >
interval< T, Policies > & operator= (interval< T, Policies1 > const &r)
 
template<class T1 , class Policies1 >
interval< T, Policies > & operator= (interval< T1, Policies1 > const &r)
 

Static Public Member Functions

static interval empty ()
 
static interval whole ()
 
static interval hull (const T &x, const T &y)
 

Member Typedef Documentation

template<class T, class Policies>
typedef T boost::numeric::interval< T, Policies >::base_type
template<class T, class Policies>
typedef Policies boost::numeric::interval< T, Policies >::traits_type

Constructor & Destructor Documentation

template<class T , class Policies >
boost::numeric::interval< T, Policies >::interval ( )
inline
template<class T , class Policies >
boost::numeric::interval< T, Policies >::interval ( T const &  v)
inline
template<class T , class Policies >
template<class T1 >
boost::numeric::interval< T, Policies >::interval ( T1 const &  v)
inline

References boost::polygon::low().

template<class T , class Policies >
boost::numeric::interval< T, Policies >::interval ( T const &  l,
T const &  u 
)
inline
template<class T , class Policies >
template<class T1 , class T2 >
boost::numeric::interval< T, Policies >::interval ( T1 const &  l,
T2 const &  u 
)
inline

References boost::polygon::low().

template<class T , class Policies >
boost::numeric::interval< T, Policies >::interval ( interval< T, Policies > const &  r)
inline
template<class T , class Policies >
template<class Policies1 >
boost::numeric::interval< T, Policies >::interval ( interval< T, Policies1 > const &  r)
inline
template<class T , class Policies >
template<class T1 , class Policies1 >
boost::numeric::interval< T, Policies >::interval ( interval< T1, Policies1 > const &  r)
inline
template<class T, class Policies>
boost::numeric::interval< T, Policies >::interval ( const T l,
const T u,
bool   
)
inline

Member Function Documentation

template<class T , class Policies >
void boost::numeric::interval< T, Policies >::assign ( const T l,
const T u 
)
inline

References boost::xpressive::set.

template<class T , class Policies >
interval< T, Policies > boost::numeric::interval< T, Policies >::hull ( const T x,
const T y 
)
inlinestatic
template<class T , class Policies >
const T & boost::numeric::interval< T, Policies >::lower ( ) const
inline

References boost::polygon::low().

Referenced by boost::numeric::abs(), boost::numeric::acos(), boost::numeric::acosh(), boost::numeric::asin(), boost::numeric::asinh(), boost::numeric::atan(), boost::numeric::atanh(), boost::numeric::bisect(), boost::numeric::BOOST_PREVENT_MACRO_SUBSTITUTION(), boost::numeric::interval_lib::cereq(), boost::numeric::interval_lib::cerge(), boost::numeric::interval_lib::cergt(), boost::numeric::interval_lib::cerle(), boost::numeric::interval_lib::cerlt(), boost::numeric::interval_lib::cerne(), boost::numeric::checked_lower(), boost::numeric::cosh(), boost::numeric::interval_lib::division_part1(), boost::numeric::equal(), boost::numeric::exp(), boost::numeric::fmod(), boost::numeric::hull(), boost::numeric::in(), boost::numeric::intersect(), boost::numeric::interval< T, Policies >::interval(), boost::numeric::log(), boost::numeric::lower(), boost::numeric::median(), boost::numeric::interval_lib::multiplicative_inverse(), boost::numeric::norm(), boost::numeric::nth_root(), boost::numeric::interval_lib::compare::certain::operator!=(), boost::numeric::interval_lib::compare::possible::operator!=(), boost::numeric::interval_lib::compare::lexicographic::operator!=(), boost::numeric::interval_lib::compare::tribool::operator!=(), boost::numeric::operator*(), boost::numeric::operator+(), boost::numeric::operator-(), boost::numeric::operator/(), boost::numeric::interval< T, Policies >::operator=(), boost::numeric::interval_lib::compare::certain::operator==(), boost::numeric::interval_lib::compare::possible::operator==(), boost::numeric::interval_lib::compare::lexicographic::operator==(), boost::numeric::interval_lib::compare::tribool::operator==(), boost::numeric::interval_lib::compare::certain::operator>(), boost::numeric::interval_lib::compare::possible::operator>(), boost::numeric::interval_lib::compare::lexicographic::operator>(), boost::numeric::interval_lib::compare::tribool::operator>(), boost::numeric::interval_lib::compare::certain::operator>=(), boost::numeric::interval_lib::compare::possible::operator>=(), boost::numeric::interval_lib::compare::lexicographic::operator>=(), boost::numeric::interval_lib::compare::tribool::operator>=(), boost::numeric::overlap(), boost::numeric::interval_lib::poseq(), boost::numeric::interval_lib::posge(), boost::numeric::interval_lib::posgt(), boost::numeric::interval_lib::posle(), boost::numeric::interval_lib::poslt(), boost::numeric::interval_lib::posne(), boost::numeric::pow(), boost::numeric::proper_subset(), boost::numeric::singleton(), boost::numeric::sinh(), boost::numeric::sqrt(), boost::numeric::square(), boost::numeric::subset(), boost::numeric::tanh(), boost::numeric::widen(), boost::numeric::width(), and boost::numeric::zero_in().

template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator!= ( const interval_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator!= ( const number_holder &  r) const
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator*= ( const T r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator*= ( const interval< T, Policies > &  r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator+= ( const T r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator+= ( const interval< T, Policies > &  r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator-= ( const T r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator-= ( const interval< T, Policies > &  r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator/= ( const T r)
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator/= ( const interval< T, Policies > &  r)
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator< ( const interval_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator< ( const number_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator<= ( const interval_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator<= ( const number_holder &  r) const
inline
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator= ( T const &  v)
inline

References boost::polygon::low().

template<class T, class Policies>
template<class T1 >
interval& boost::numeric::interval< T, Policies >::operator= ( T1 const &  v)
template<class T , class Policies >
interval< T, Policies > & boost::numeric::interval< T, Policies >::operator= ( interval< T, Policies > const &  r)
inline
template<class T, class Policies>
template<class Policies1 >
interval& boost::numeric::interval< T, Policies >::operator= ( interval< T, Policies1 > const &  r)
template<class T, class Policies>
template<class T1 , class Policies1 >
interval& boost::numeric::interval< T, Policies >::operator= ( interval< T1, Policies1 > const &  r)
template<class T, class Policies>
template<class T1 >
interval<T, Policies>& boost::numeric::interval< T, Policies >::operator= ( T1 const &  v)
inline

References boost::polygon::low().

template<class T, class Policies>
template<class Policies1 >
interval<T, Policies>& boost::numeric::interval< T, Policies >::operator= ( interval< T, Policies1 > const &  r)
inline
template<class T, class Policies>
template<class T1 , class Policies1 >
interval<T, Policies>& boost::numeric::interval< T, Policies >::operator= ( interval< T1, Policies1 > const &  r)
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator== ( const interval_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator== ( const number_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator> ( const interval_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator> ( const number_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator>= ( const interval_holder &  r) const
inline
template<class T , class Policies >
bool boost::numeric::interval< T, Policies >::operator>= ( const number_holder &  r) const
inline
template<class T , class Policies >
void boost::numeric::interval< T, Policies >::set ( const T l,
const T u 
)
inline

References boost::polygon::low().

template<class T , class Policies >
void boost::numeric::interval< T, Policies >::set_empty ( )
inline
template<class T , class Policies >
void boost::numeric::interval< T, Policies >::set_whole ( )
inline

References boost::polygon::low().

template<class T , class Policies >
const T & boost::numeric::interval< T, Policies >::upper ( ) const
inline

Referenced by boost::numeric::abs(), boost::numeric::acos(), boost::numeric::acosh(), boost::numeric::asin(), boost::numeric::asinh(), boost::numeric::atan(), boost::numeric::atanh(), boost::numeric::bisect(), boost::numeric::BOOST_PREVENT_MACRO_SUBSTITUTION(), boost::numeric::interval_lib::cereq(), boost::numeric::interval_lib::cerge(), boost::numeric::interval_lib::cergt(), boost::numeric::interval_lib::cerle(), boost::numeric::interval_lib::cerlt(), boost::numeric::interval_lib::cerne(), boost::numeric::checked_upper(), boost::numeric::cosh(), boost::numeric::interval_lib::division_part1(), boost::numeric::equal(), boost::numeric::exp(), boost::numeric::fmod(), boost::numeric::hull(), boost::numeric::in(), boost::numeric::intersect(), boost::numeric::interval< T, Policies >::interval(), boost::numeric::log(), boost::numeric::median(), boost::numeric::interval_lib::multiplicative_inverse(), boost::numeric::norm(), boost::numeric::nth_root(), boost::numeric::interval_lib::compare::certain::operator!=(), boost::numeric::interval_lib::compare::possible::operator!=(), boost::numeric::interval_lib::compare::lexicographic::operator!=(), boost::numeric::interval_lib::compare::tribool::operator!=(), boost::numeric::operator*(), boost::numeric::operator+(), boost::numeric::operator-(), boost::numeric::operator/(), boost::numeric::interval< T, Policies >::operator=(), boost::numeric::interval_lib::compare::certain::operator==(), boost::numeric::interval_lib::compare::possible::operator==(), boost::numeric::interval_lib::compare::lexicographic::operator==(), boost::numeric::interval_lib::compare::tribool::operator==(), boost::numeric::interval_lib::compare::certain::operator>(), boost::numeric::interval_lib::compare::possible::operator>(), boost::numeric::interval_lib::compare::lexicographic::operator>(), boost::numeric::interval_lib::compare::tribool::operator>(), boost::numeric::interval_lib::compare::certain::operator>=(), boost::numeric::interval_lib::compare::possible::operator>=(), boost::numeric::interval_lib::compare::lexicographic::operator>=(), boost::numeric::interval_lib::compare::tribool::operator>=(), boost::numeric::overlap(), boost::numeric::interval_lib::poseq(), boost::numeric::interval_lib::posge(), boost::numeric::interval_lib::posgt(), boost::numeric::interval_lib::posle(), boost::numeric::interval_lib::poslt(), boost::numeric::interval_lib::posne(), boost::numeric::pow(), boost::numeric::proper_subset(), boost::numeric::singleton(), boost::numeric::sinh(), boost::numeric::sqrt(), boost::numeric::square(), boost::numeric::subset(), boost::numeric::tanh(), boost::numeric::upper(), boost::numeric::widen(), boost::numeric::width(), and boost::numeric::zero_in().

template<class T , class Policies >
interval< T, Policies > boost::numeric::interval< T, Policies >::whole ( )
inlinestatic

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