Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::math::interval Class Template Reference

A continuous interval. More...

#include <more/math/interval.h>

Inheritance diagram for more::math::interval:

Inheritance graph
[legend]
Collaboration diagram for more::math::interval:

Collaboration graph
[legend]
List of all members.

Public Methods

Friends


Detailed Description

template<typename T, typename Less = std::less<T>>
class more::math::interval< T, Less >

A continuous interval.

That is, connected 1d set of reals. T should be (quasi-)continuous type, such as a float.


Constructor & Destructor Documentation

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval   [inline]
 

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval T const &    x,
bool    has_x,
T const &    y,
bool    has_y
[inline]
 

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval T const &    x,
bool    has_x,
T const &    y,
bool    has_y,
Less    l
[inline]
 

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval open_interval< T, Less > const &    I [inline]
 

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval left_interval< T, Less > const &    I [inline]
 

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval right_interval< T, Less > const &    I [inline]
 

template<typename T, typename Less = std::less<T>>
more::math::interval< T, Less >::interval closed_interval< T, Less > const &    I [inline]
 


Member Function Documentation

template<typename T, typename Less = std::less<T>>
bool more::math::interval< T, Less >::find T const &    v [inline]
 

template<typename T, typename Less = std::less<T>>
bool more::math::interval< T, Less >::is_left_closed   const [inline]
 

template<typename T, typename Less = std::less<T>>
bool more::math::interval< T, Less >::is_right_closed   const [inline]
 

template<typename T, typename Less = std::less<T>>
bool more::math::interval< T, Less >::operator!= interval< T, Less > const &    rhs const [inline]
 

template<typename T, typename Less = std::less<T>>
bool more::math::interval< T, Less >::operator== interval< T, Less > const &    rhs const [inline]
 


Friends And Related Function Documentation

template<typename T, typename Less = std::less<T>>
template<typename CharT, typename Traits>
std::basic_ostream<CharT, Traits>& operator<< std::basic_ostream< CharT, Traits > &    os,
interval< T, Less > const &    x
[friend]
 

template<typename T, typename Less = std::less<T>>
template<typename CharT, typename Traits>
std::basic_istream<CharT, Traits>& operator>> std::basic_istream< CharT, Traits > &    is,
interval< T, Less > &    x
[friend]
 


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:56 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.