Defines a range of values.
|
template<typename T > |
Range< T > | nvxio::ranges::all () |
| Creates a range that includes all points. More...
|
|
template<typename T > |
Range< T > | nvxio::ranges::atLeast (T x) |
| Creates a range that includes the values that are greater than or equal to the particular number (values >= x). More...
|
|
template<typename T > |
Range< T > | nvxio::ranges::atMost (T x) |
| Creates a range that includes the values that are less than or equal to the particular number (values <= x). More...
|
|
template<typename T > |
Range< T > | nvxio::ranges::lessThan (T x) |
| Creates a range that includes the values that are less than the particular number (values < x). More...
|
|
template<typename T > |
Range< T > | nvxio::ranges::moreThan (T x) |
| Creates a range that includes the values that are greater than the particular number (values > x). More...
|
|
template<typename T > |
Range< T > | nvxio::operator& (const Range< T > &r1, const Range< T > &r2) |
| Calculates intersection of the two ranges. More...
|
|
template<typename T >
Range<T> nvxio::operator& |
( |
const Range< T > & |
r1, |
|
|
const Range< T > & |
r2 |
|
) |
| |
|
inline |
template<typename T >
Range<T> nvxio::ranges::all |
( |
| ) |
|
|
inline |
Creates a range that includes all points.
- Returns
- The range.
Definition at line 163 of file Range.hpp.
template<typename T >
Range<T> nvxio::ranges::lessThan |
( |
T |
x | ) |
|
|
inline |
Creates a range that includes the values that are less than the particular number (values < x).
- Parameters
-
[in] | x | Specifies the right bound of the range (not including the bound). |
- Returns
- The range.
Definition at line 174 of file Range.hpp.
template<typename T >
Range<T> nvxio::ranges::moreThan |
( |
T |
x | ) |
|
|
inline |
Creates a range that includes the values that are greater than the particular number (values > x).
- Parameters
-
[in] | x | Specifies the left bound of the range (not including the bound). |
- Returns
- The range.
Definition at line 185 of file Range.hpp.
template<typename T >
Range<T> nvxio::ranges::atLeast |
( |
T |
x | ) |
|
|
inline |
Creates a range that includes the values that are greater than or equal to the particular number (values >= x).
- Parameters
-
[in] | x | Specifies the left bound of the range (including the bound). |
- Returns
- The range.
Definition at line 196 of file Range.hpp.
template<typename T >
Range<T> nvxio::ranges::atMost |
( |
T |
x | ) |
|
|
inline |
Creates a range that includes the values that are less than or equal to the particular number (values <= x).
- Parameters
-
[in] | x | Specifies the right bound of the range (including the bound). |
- Returns
- The range.
Definition at line 207 of file Range.hpp.