Go to the documentation of this file.    1 #ifndef __JMATH__JPOWER__ 
    2 #define __JMATH__JPOWER__ 
   13 namespace JPP { 
using namespace JMATH; }
 
   98       in >> 
object.alpha >> 
object.factor;
 
  113       return out << 
object.alpha << 
' ' << 
object.factor;
 
 
friend std::ostream & operator<<(std::ostream &out, const JPower &object)
Write power to output.
 
double getIntegral(const double x) const
Integral value.
 
Power law function object.
 
double getValue(const double x) const
Function value.
 
friend std::istream & operator>>(std::istream &in, JPower &object)
Read power from input.
 
double operator()(const double x) const
Function value.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
JPower(const double alpha, const double factor=1.0)
Constructor.
 
Auxiliary classes and methods for mathematical operations.
 
double getDerivative(const double x) const
Derivative value.