CortidQCT  1.2.2.52
Classes | Namespaces | Typedefs | Functions
DiscreteRange.h File Reference

This header contains the definition of the DiscreteRange template. More...

#include <cmath>
#include <limits>
#include <type_traits>
Include dependency graph for DiscreteRange.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CortidQCT::DiscreteRange< T >
 Type representing a discrete closed, stridable range. More...
 

Namespaces

 CortidQCT
 Name namespace for CortidQCT library.
 

Typedefs

using CortidQCT::DiscreteRangef = DiscreteRange< float >
 Alias for float valued ranges.
 
using CortidQCT::DiscreteRanged = DiscreteRange< double >
 Alias for double valued ranges.
 
using CortidQCT::DiescreteRangei = DiscreteRange< int >
 Alias for integer value ranges.
 

Functions

template<class T >
constexpr DiscreteRange< T > CortidQCT::discreteRange (T min, T max, T stride) noexcept
 Convenient creator function.
 
template<class T >
constexpr DiscreteRange< T > CortidQCT::discreteRange (T min, T max) noexcept
 Convenient creator function.
 

Detailed Description

This header contains the definition of the DiscreteRange template.

Author
Stefan Reinhold