npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
SimpleFunctors.hh File Reference

Interface definitions and concrete simple functors for a variety of functor-based calculations. More...

#include <cmath>
#include <cfloat>
#include <cassert>
#include <utility>
#include <stdexcept>
#include "npstat/nm/lapack_double.h"

Go to the source code of this file.

Classes

struct  npstat::Functor0< Result >
 
class  npstat::Functor0RefHelper< Result >
 
struct  npstat::Functor1< Result, Arg1 >
 
class  npstat::Functor1RefHelper< Result, Arg1 >
 
struct  npstat::Functor2< Result, Arg1, Arg2 >
 
class  npstat::Functor2RefHelper< Result, Arg1, Arg2 >
 
struct  npstat::Functor3< Result, Arg1, Arg2, Arg3 >
 
class  npstat::Functor3RefHelper< Result, Arg1, Arg2, Arg3 >
 
struct  npstat::PairFunctor< Numeric >
 
class  npstat::PairFunctorRefHelper< Numeric >
 
struct  npstat::Same< Result >
 
class  npstat::Shift< Result >
 
struct  npstat::SameRef< Result >
 
struct  npstat::DefaultConstructor0< Result >
 
struct  npstat::DefaultConstructor1< Result, Arg1 >
 
struct  npstat::DefaultConstructor2< Result, Arg1, Arg2 >
 
struct  npstat::DefaultConstructor3< Result, Arg1, Arg2, Arg3 >
 
class  npstat::ConstValue0< Result >
 
class  npstat::ConstValue1< Result, Arg1 >
 
class  npstat::ConstValue2< Result, Arg1, Arg2 >
 
class  npstat::ConstValue3< Result, Arg1, Arg2, Arg3 >
 
struct  npstat::CastingCopyConstructor< Result, Arg1, CastType >
 
struct  npstat::FcnFunctor0< Result >
 
struct  npstat::FcnFunctor1< Result, Arg1 >
 
struct  npstat::FcnFunctor2< Result, Arg1, Arg2 >
 
struct  npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >
 
struct  npstat::ComboFunctor1Helper< Result1, Arg1, Result2, Arg2, Operator >
 
struct  npstat::Element1D< Container, Result >
 
struct  npstat::Element1DAt< Container, Result >
 
struct  npstat::assign_left< T1, T2 >
 
struct  npstat::assign_right< T1, T2 >
 
struct  npstat::pluseq_left< T1, T2 >
 
struct  npstat::pluseq_right< T1, T2 >
 
struct  npstat::addmul_left< T1, T2 >
 
struct  npstat::addmul_right< T1, T2 >
 
struct  npstat::minuseq_left< T1, T2 >
 
struct  npstat::minuseq_right< T1, T2 >
 
struct  npstat::multeq_left< T1, T2 >
 
struct  npstat::multeq_right< T1, T2 >
 
struct  npstat::diveq_left< T1, T2 >
 
struct  npstat::diveq_right< T1, T2 >
 
struct  npstat::diveq_left_0by0isC< T1, T2 >
 
struct  npstat::diveq_right_0by0isC< T1, T2 >
 
struct  npstat::scast_assign_left< T1, T2, T3 >
 
struct  npstat::scast_assign_right< T1, T2, T3 >
 
struct  npstat::scast_pluseq_left< T1, T2, T3 >
 
struct  npstat::scast_pluseq_right< T1, T2, T3 >
 
struct  npstat::scast_minuseq_left< T1, T2, T3 >
 
struct  npstat::scast_minuseq_right< T1, T2, T3 >
 
struct  npstat::SquareRoot< T1 >
 
struct  npstat::InverseSquareRoot< T1 >
 
class  npstat::DeltaSquaredFcnHelper< F1, F2 >
 
class  npstat::SeriesFcnHelper< Poly >
 
class  npstat::DeltaSquaredSerFcn< Poly, Functor >
 
class  npstat::FunctorPowerFcnHelper< Functor >
 
class  npstat::FunctorPowerFcnCpHelper< Functor >
 
class  npstat::MultiplyByConstHelper< Result, Arg1 >
 

Namespaces

 npstat
 

Functions

template<typename Result >
Functor0RefHelper< Result > npstat::Functor0Ref (const Functor0< Result > &ref)
 
template<typename Result , typename Arg1 >
Functor1RefHelper< Result, Arg1 > npstat::Functor1Ref (const Functor1< Result, Arg1 > &ref)
 
template<typename Result , typename Arg1 , typename Arg2 >
Functor2RefHelper< Result, Arg1, Arg2 > npstat::Functor2Ref (const Functor2< Result, Arg1, Arg2 > &ref)
 
template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
Functor3RefHelper< Result, Arg1, Arg2, Arg3 > npstat::Functor3Ref (const Functor3< Result, Arg1, Arg2, Arg3 > &ref)
 
template<typename Numeric >
PairFunctorRefHelper< Numeric > npstat::PairFunctorRef (const PairFunctor< Numeric > &ref)
 
template<typename Result1 , typename Arg1 , typename Result2 , typename Arg2 , template< typename > class Operator>
ComboFunctor1Helper< Result1, Arg1, Result2, Arg2, Operator< Result1 > > npstat::ComboFunctor1 (const Functor1< Result1, Arg1 > &f1, const Functor1< Result2, Arg2 > &f2, const Operator< Result1 > &op)
 
template<class F1 , class F2 >
DeltaSquaredFcnHelper< F1, F2 > npstat::DeltaSquaredFcn (const F1 &f1, const F2 &f2)
 
template<class Poly >
SeriesFcnHelper< Poly > npstat::SeriesFcn (const Poly &poly, const double *coeffs, const unsigned maxdeg)
 
template<class Functor >
FunctorPowerFcnHelper< Functor > npstat::FunctorPowerFcn (const Functor &fcn, const double power)
 
template<class Functor >
FunctorPowerFcnCpHelper< Functor > npstat::FunctorPowerFcnCp (const Functor &fcn, const double power)
 
template<typename Result , typename Arg1 , typename Numeric >
MultiplyByConstHelper< Result, Arg1 > npstat::MultiplyByConst (const Functor1< Result, Arg1 > &fcn, const Numeric &factor)
 

Detailed Description

Interface definitions and concrete simple functors for a variety of functor-based calculations.

Author: I. Volobouev

March 2009