|
Jpp
19.1.0
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. More... | |
| double | getValue (const double x) const |
| Function value. More... | |
| double | getDerivative (const double x) const |
| Derivative value. More... | |
| double | getIntegral (const double x) const |
| Integral value. More... | |
| double | operator() (const double x) const |
| Function value. More... | |
Protected Attributes | |
| double | alpha |
| double | factor |
Friends | |
| std::istream & | operator>> (std::istream &in, JPower &object) |
| Read power from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JPower &object) |
| Write power to output. More... | |
Power law function object.
Evaluation of function, derivative and integral values.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |