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

Base class for data structures with artithmetic capabilities. More...

#include <cmath>
#include <iterator>
#include "JLang/JNullType.hh"
#include "JLang/JClass.hh"
#include "JLang/JBool.hh"
#include "JLang/JVectorize.hh"
#include "JLang/JException.hh"
#include "JMath/JZero.hh"
#include "JMath/JCalculator.hh"

Go to the source code of this file.

Classes

struct  JMATH::JMath_t
 Auxiliary class to hide data type specific methods. More...
 
struct  JMATH::JMath< JFirst_t, JSecond_t >
 Auxiliary base class for aritmetic operations of derived class types. More...
 
struct  JMATH::JMath< T, JNullType >
 Template base class for data structures with arithmetic capabilities. More...
 
struct  JMATH::JMath< JFirst_t, JSecond_t >
 Auxiliary base class for aritmetic operations of derived class types. More...
 
struct  JMATH::JAverage< JValue_t >
 Auxiliary class to determine average of set of values. More...
 

Namespaces

 JMATH
 Auxiliary classes and methods for mathematical operations.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
 JGEOMETRY3D
 Auxiliary classes and methods for 3D geometrical objects and operations.
 

Functions

template<class T >
T JMATH::pow (const T &x, const double y)
 Power $x^y$. More...
 
template<class T >
T JMATH::interpolate (const T &first, const T &second, const double alpha)
 Interpolation between objects. More...
 
template<class T >
std::iterator_traits< T >
::value_type 
JMATH::getAverage (T __begin, T __end)
 Get average. More...
 
template<class JValue_t , size_t N>
JValue_t JMATH::getAverage (const JValue_t(&array)[N])
 Get average. More...
 
template<class JElement_t , class JAllocator_t >
JElement_t JMATH::getAverage (const array_type< JElement_t, JAllocator_t > &buffer)
 Get average. More...
 
template<class T >
std::iterator_traits< T >
::value_type 
JMATH::getAverage (T __begin, T __end, typename std::iterator_traits< T >::value_type value)
 Get average. More...
 
template<class JValue_t , size_t N>
JValue_t JMATH::getAverage (const JValue_t(&array)[N], typename JLANG::JClass< JValue_t >::argument_type value)
 Get average. More...
 
template<class JElement_t , class JAllocator_t >
JElement_t JMATH::getAverage (const array_type< JElement_t, JAllocator_t > &buffer, typename JLANG::JClass< JElement_t >::argument_type value)
 Get average. More...
 

Detailed Description

Base class for data structures with artithmetic capabilities.

Author
mdejong

Definition in file JMath.hh.