CMS 3D CMS Logo

Classes | Namespaces | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/JetMETCorrections/InterpolationTables/interface/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

namespace  npstat
namespace  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.