Jpp
17.2.1-pre0
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 |
Integral value.
x | abscissa value |
Definition at line 68 of file JPower.hh.
|
inline |
Function value.
x | abscissa value |
Definition at line 83 of file JPower.hh.
|
friend |
Read power from input.
in | input stream |
object | power |
Definition at line 96 of file JPower.hh.
|
friend |