npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::FunctorPowerFcnCpHelper< Functor > Class Template Reference

#include <SimpleFunctors.hh>

Inheritance diagram for npstat::FunctorPowerFcnCpHelper< Functor >:
npstat::Functor1< double, double >

Public Member Functions

 FunctorPowerFcnCpHelper (const Functor &fcn, const double power)
 
virtual double operator() (const double &x) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor1< double, double >
typedef double result_type
 
typedef double first_argument_type
 

Detailed Description

template<class Functor>
class npstat::FunctorPowerFcnCpHelper< Functor >

Useful functor for calculating powers of another functor or a cmath-style function. Makes a copy of the argument functor.


The documentation for this class was generated from the following file: