Jpp 19.3.0-rc.1
the software that should make you happy
|
Power law function object. More...
#include <JPower.hh>
Public Member Functions | |
JPower (const double alpha, const double factor=1.0) | |
Constructor. | |
double | getValue (const double x) const |
Function value. | |
double | getDerivative (const double x) const |
Derivative value. | |
double | getIntegral (const double x) const |
Integral value. | |
double | operator() (const double x) const |
Function value. | |
Protected Attributes | |
double | alpha |
double | factor |
Friends | |
std::istream & | operator>> (std::istream &in, JPower &object) |
Read power from input. | |
std::ostream & | operator<< (std::ostream &out, const JPower &object) |
Write power to output. | |
Power law function object.
Evaluation of function, derivative and integral values.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |