Jpp
debug
the software that should make you happy
|
Gauss function. More...
#include <JMathlib.hh>
Public Member Functions | |
JGauss () | |
Default constructor. More... | |
JGauss (const double center, const double sigma) | |
Constructor. More... | |
double | getValue (const double x) const |
Function value. More... | |
double | getDerivative (const double x) const |
Derivative value. More... | |
const JGauss & | getGradient (const double x) const |
Get gradient. More... | |
double | operator() (const Args &...args) const |
Function value. More... | |
JGauss< ID_t, true > & | negate () |
Negate function. More... | |
JGauss< ID_t, true > & | add (const JGauss< ID_t, true > &f1) |
Add function. More... | |
JGauss< ID_t, true > & | sub (const JGauss< ID_t, true > &f1) |
Subtract function. More... | |
JGauss< ID_t, true > & | mul (const double factor) |
Scale function. More... | |
JGauss< ID_t, true > & | div (const double factor) |
Scale function. More... | |
Public Attributes | |
double | center |
center More... | |
double | sigma |
sigma More... | |
Static Public Attributes | |
static const int | ID = ID_t |
static const parameter_list< JGauss > | parameters = { &JGauss<ID_t, true>::center, &JGauss<ID_t, true>::sigma } |
parameters More... | |
Private Member Functions | |
double | get (const double u) const |
Get ordinate value. More... | |
Gauss function.
Definition at line 1692 of file JMathlib.hh.
|
inline |
|
inline |
|
inline |
Function value.
x | abscissa value |
Definition at line 1727 of file JMathlib.hh.
|
inline |
|
inline |
Get gradient.
x | abscissa value |
Definition at line 1756 of file JMathlib.hh.
|
inlineprivate |
Get ordinate value.
u | abscissa value |
Definition at line 1781 of file JMathlib.hh.
|
inlineinherited |
Function value.
args | abscissa value(s) |
Definition at line 362 of file JMathlib.hh.
|
inlineinherited |
|
inlineinherited |
Add function.
f1 | function |
Definition at line 219 of file JMathlib.hh.
|
inlineinherited |
Subtract function.
f1 | function |
Definition at line 235 of file JMathlib.hh.
|
inlineinherited |
Scale function.
factor | factor |
Definition at line 251 of file JMathlib.hh.
|
inlineinherited |
Scale function.
factor | factor |
Definition at line 267 of file JMathlib.hh.
|
static |
Definition at line 1696 of file JMathlib.hh.
double JMATH::JGauss< ID_t, true >::center |
center
Definition at line 1770 of file JMathlib.hh.
double JMATH::JGauss< ID_t, true >::sigma |
sigma
Definition at line 1771 of file JMathlib.hh.
|
static |