ergo
mat::Interval Class 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

Constructor & Destructor Documentation

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

Member Function Documentation

bool mat::Interval::cover ( Treal const  value) const [inline]
void mat::Interval::decrease ( Treal const  value) [inline]
void mat::Interval::increase ( Treal const  value) [inline]
void mat::Interval::intersect ( Interval const &  other) [inline]
void mat::Interval::intersect_always_non_empty ( Interval const &  other) [inline]
void mat::Interval::invPuriStep ( int  poly)
void mat::Interval::invPuriStep ( int  poly,
Treal  alpha 
)

References template_blas_sqrt().

Interval<Treal> mat::Interval::operator* ( Treal const &  value) const [inline]
Interval<Treal> mat::Interval::operator+ ( Interval< Treal > const &  other) const [inline]
Interval<Treal> mat::Interval::operator+ ( Treal const &  value) const [inline]
Interval<Treal> mat::Interval::operator- ( Interval< Treal > const &  other) const [inline]
Interval<Treal> mat::Interval::operator- ( Treal const &  value) const [inline]
Interval<Treal> mat::Interval::operator/ ( Treal const &  value) const [inline]
bool mat::Interval::overlap ( Interval const &  other) const [inline]
void mat::Interval::puriStep ( int  poly,
Treal  alpha 
)

Member Data Documentation


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