mat::Interval< Treal > Class Template Reference

#include <Interval.h>

List of all members.

Public Member Functions

 Interval (Treal low=1, Treal upp=-1)
bool empty () const
void intersect (Interval const &other)
void intersect_always_non_empty (Interval const &other)
Treal length () const
 Returns the length of the interval.
Treal midPoint () const
bool cover (Treal const value) const
bool overlap (Interval const &other) const
void increase (Treal const value)
 Increases interval with value in both directions.
void decrease (Treal const value)
Treal low () const
Treal upp () const
Interval< Treal > operator* (Treal const &value) const
Interval< Treal > operator- (Interval< Treal > const &other) const
Interval< Treal > operator+ (Interval< Treal > const &other) const
Interval< Treal > operator/ (Treal const &value) const
Interval< Treal > operator- (Treal const &value) const
Interval< Treal > operator+ (Treal const &value) const
void puriStep (int poly)
void invPuriStep (int poly)
void puriStep (int poly, Treal alpha)
void invPuriStep (int poly, Treal alpha)

Static Public Member Functions

static Interval intersect (Interval const &A, Interval const &B)

Protected Attributes

Treal lowerBound
Treal upperBound

template<typename Treal>
class mat::Interval< Treal >


Constructor & Destructor Documentation

template<typename Treal>
mat::Interval< Treal >::Interval ( Treal  low = 1,
Treal  upp = -1 
) [inline, explicit]

Member Function Documentation

template<typename Treal>
bool mat::Interval< Treal >::cover ( Treal const   value  )  const [inline]
template<typename Treal>
void mat::Interval< Treal >::decrease ( Treal const   value  )  [inline]
template<typename Treal>
bool mat::Interval< Treal >::empty (  )  const [inline]
template<typename Treal>
void mat::Interval< Treal >::increase ( Treal const   value  )  [inline]
template<typename Treal>
void mat::Interval< Treal >::intersect ( Interval< Treal > const &  other  )  [inline]
template<typename Treal>
static Interval mat::Interval< Treal >::intersect ( Interval< Treal > const &  A,
Interval< Treal > const &  B 
) [inline, static]
template<typename Treal>
void mat::Interval< Treal >::intersect_always_non_empty ( Interval< Treal > const &  other  )  [inline]
template<typename Treal>
void mat::Interval< Treal >::invPuriStep ( int  poly,
Treal  alpha 
) [inline]
template<typename Treal >
void mat::Interval< Treal >::invPuriStep ( int  poly  )  [inline]
template<typename Treal>
Treal mat::Interval< Treal >::length (  )  const [inline]
template<typename Treal>
Treal mat::Interval< Treal >::low (  )  const [inline]
template<typename Treal>
Treal mat::Interval< Treal >::midPoint (  )  const [inline]
template<typename Treal>
Interval<Treal> mat::Interval< Treal >::operator* ( Treal const &  value  )  const [inline]
template<typename Treal>
Interval<Treal> mat::Interval< Treal >::operator+ ( Treal const &  value  )  const [inline]
template<typename Treal>
Interval<Treal> mat::Interval< Treal >::operator+ ( Interval< Treal > const &  other  )  const [inline]
template<typename Treal>
Interval<Treal> mat::Interval< Treal >::operator- ( Treal const &  value  )  const [inline]
template<typename Treal>
Interval<Treal> mat::Interval< Treal >::operator- ( Interval< Treal > const &  other  )  const [inline]
template<typename Treal>
Interval<Treal> mat::Interval< Treal >::operator/ ( Treal const &  value  )  const [inline]
template<typename Treal>
bool mat::Interval< Treal >::overlap ( Interval< Treal > const &  other  )  const [inline]
template<typename Treal>
void mat::Interval< Treal >::puriStep ( int  poly,
Treal  alpha 
) [inline]
template<typename Treal >
void mat::Interval< Treal >::puriStep ( int  poly  )  [inline]
template<typename Treal>
Treal mat::Interval< Treal >::upp (  )  const [inline]

Member Data Documentation

template<typename Treal>
Treal mat::Interval< Treal >::lowerBound [protected]
template<typename Treal>
Treal mat::Interval< Treal >::upperBound [protected]

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

Generated on 21 Nov 2012 for ergo by  doxygen 1.6.1