Public Types | Public Member Functions

rt_interval< InterfaceType > Class Template Reference

Represents an interval [a,b] at runtime. Note that the interval boundaries do not need to be constants. More...

#include <interval.hpp>

Public Types

typedef rt_expr< InterfaceType > value_type
typedef InterfaceType interface_type
typedef InterfaceType::numeric_type numeric_type

Public Member Functions

 rt_interval ()
 rt_interval (const rt_expr< InterfaceType > &a, const rt_expr< InterfaceType > &b)
 rt_interval (rt_interval const &other)
rt_expr< InterfaceType > const & lower () const
 Returns the lower bound 'a' of the interval.
rt_expr< InterfaceType > const & upper () const
 Returns the upper bound 'b' of the interval.
rt_interval const & operator= (rt_interval const &other)

Detailed Description

template<typename InterfaceType>
class viennamath::rt_interval< InterfaceType >

Represents an interval [a,b] at runtime. Note that the interval boundaries do not need to be constants.


Member Typedef Documentation

typedef InterfaceType interface_type
typedef InterfaceType::numeric_type numeric_type
typedef rt_expr<InterfaceType> value_type

Constructor & Destructor Documentation

rt_interval (  )  [inline, explicit]
rt_interval ( const rt_expr< InterfaceType > &  a,
const rt_expr< InterfaceType > &  b 
) [inline, explicit]
rt_interval ( rt_interval< InterfaceType > const &  other  )  [inline]

Member Function Documentation

rt_expr<InterfaceType> const& lower (  )  const [inline]

Returns the lower bound 'a' of the interval.

rt_interval const& operator= ( rt_interval< InterfaceType > const &  other  )  [inline]
rt_expr<InterfaceType> const& upper (  )  const [inline]

Returns the upper bound 'b' of the interval.


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