CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions
absDifference.h File Reference

Calculate absolute value of a difference between two numbers for an extended set of types. More...

#include <cmath>
#include <complex>
#include "Alignment/Geners/interface/IOIsUnsigned.hh"

Go to the source code of this file.

Classes

struct  npstat::Private::AbsHelper< T, Unsigned >
 
struct  npstat::Private::AbsHelper< T, 1 >
 
struct  npstat::Private::AbsReturnType< T >
 
struct  npstat::Private::AbsReturnType< const std::complex< T > >
 
struct  npstat::Private::AbsReturnType< const volatile std::complex< T > >
 
struct  npstat::Private::AbsReturnType< std::complex< T > >
 
struct  npstat::Private::AbsReturnType< volatile std::complex< T > >
 

Namespaces

 npstat
 
 npstat::Private
 

Functions

template<typename T >
Private::AbsReturnType< T >::type npstat::absDifference (const T &v1, const T &v2)
 
template<typename T >
Private::AbsReturnType< T >::type npstat::absValue (const T &v1)
 

Detailed Description

Calculate absolute value of a difference between two numbers for an extended set of types.

Author: I. Volobouev

October 2009

Definition in file absDifference.h.