Jpp  17.3.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
JRange.hh File Reference

Auxiliary class to define a range between two values. More...

#include <cmath>
#include <utility>
#include <functional>
#include "JLang/JClass.hh"
#include "JLang/JBool.hh"
#include "JLang/JEquals.hh"
#include "JLang/JVectorize.hh"
#include "JTools/JPair.hh"
#include "JMath/JMath.hh"
#include "JMath/JLimits.hh"

Go to the source code of this file.

Classes

class  JTOOLS::JRange< T, JComparator_t >
 Range of values. More...
 

Namespaces

 JTOOLS
 Auxiliary classes and methods for multi-dimensional interpolations and histograms.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class T , class JComparator_t >
JRange< T, JComparator_t > JTOOLS::operator+ (const JRange< T, JComparator_t > &first, const JRange< T, JComparator_t > &second)
 Add ranges. More...
 
template<class T , class JComparator_t >
JRange< T, JComparator_t > JTOOLS::operator- (const JRange< T, JComparator_t > &first, const JRange< T, JComparator_t > &second)
 Subtract ranges. More...
 
template<class T , class JComparator_t >
bool JTOOLS::overlap (const JRange< T, JComparator_t > &first, const JRange< T, JComparator_t > &second)
 Test overlap between ranges. More...
 
template<class T , class JComparator_t >
JRange< T, JComparator_t > JTOOLS::join (const JRange< T, JComparator_t > &first, const JRange< T, JComparator_t > &second)
 Join ranges. More...
 
template<class T , class JComparator_t >
JRange< T, JComparator_t > JTOOLS::combine (const JRange< T, JComparator_t > &first, const JRange< T, JComparator_t > &second)
 Combine ranges. More...
 
template<class T >
JRange< TJTOOLS::make_range (T x, T y)
 Auxiliary method to create range of values. More...
 
template<class T >
double JTOOLS::getN (const JRange< T > &range, const double R)
 Get expected number of occurrences due to given rate within specified interval. More...
 

Detailed Description

Auxiliary class to define a range between two values.

Author
mdejong

Definition in file JRange.hh.