|
Jpp 21.0.0-rc.1
the software that should make you happy
|
Gauss function object. More...
#include <JGauss.hh>
Public Types | |
| typedef double JGauss_t::* | parameter_type |
| Type definition of fit parameter. | |
Public Member Functions | |
| JGauss () | |
| Default constructor. | |
| JGauss (const JGauss_t &gauss) | |
| Copy constructor. | |
| JGauss (const double mean, const double sigma, const double signal=1.0, const double background=0.0) | |
| Constructor. | |
| double | getValue (const double x) const |
| Function value. | |
| double | getDerivative (const double x) const |
| Derivative value. | |
| double | operator() (const double x) const |
| Function value. | |
| const JGauss_t & | getGradient (const double x) const |
| Get gradient. | |
| JGauss () | |
| Default constructor. | |
| JGauss (const double center, const double sigma) | |
| Constructor. | |
| double | getValue (const double x) const |
| Function value. | |
| double | getDerivative (const double x) const |
| Derivative value. | |
| JGauss | getGradient (const double x) const |
| Get gradient. | |
| bool | equals (const JGauss_t &gauss, const double eps=std::numeric_limits< double >::min()) const |
| Equality. | |
| JGauss_t & | add (const JGauss_t &gauss) |
| Add gauss. | |
| JGauss_t & | sub (const JGauss_t &gauss) |
| Subtract gauss. | |
| JGauss_t & | mul (const double factor) |
| Scale gauss. | |
| JGauss_t & | mul (const JSecond_t &object) |
| Multiply with object. | |
| double | operator() (const Args &...args) const |
| Function value. | |
| double | operator[] (const size_t i) const |
| Get value of parameter at given index. | |
| double & | operator[] (const size_t i) |
| Get value of parameter at given index. | |
| JGauss< ID_t > & | negate () |
| Negate function. | |
| JGauss< ID_t > & | add (const JGauss< ID_t > &f1) |
| Add function. | |
| JGauss< ID_t > & | sub (const JGauss< ID_t > &f1) |
| Subtract function. | |
| JGauss< ID_t > & | mul (const double factor) |
| Scale function. | |
| JGauss< ID_t > & | div (const double factor) |
| Scale function. | |
Public Attributes | |
| double | center |
| center | |
| double | sigma |
| sigma | |
| double | mean |
| double | signal |
| double | background |
Static Public Attributes | |
| static const int | ID = ID_t |
| static constexpr parameter_list< JGauss, 2 > | parameters { &JGauss::center, &JGauss::sigma } |
Private Member Functions | |
| double | get (const double u) const |
| Get ordinate value. | |
| double | get (const double u) const |
| Get ordinate value. | |
Private Attributes | |
| JGauss_t | gradient |
Gauss function object.
Gauss function.
Evaluates function, derivative and gradient values.
Definition at line 1938 of file JMathlib.hh.
| double JGauss_t::* JMATH::JGauss< ID_t, normalised >::parameter_type |
|
inline |
|
inline |
Copy constructor.
| gauss | gauss |
Definition at line 195 of file JGauss.hh.
|
inline |
|
inline |
Default constructor.
Definition at line 1948 of file JMathlib.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Get gradient.
| x | abscissa value |
Definition at line 2002 of file JMathlib.hh.
|
inlineprivate |
Get ordinate value.
| u | abscissa value |
Definition at line 2028 of file JMathlib.hh.
|
inlineinherited |
Equality.
| gauss | gauss |
| eps | numerical precision |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Function value.
| args | abscissa value(s) |
Definition at line 331 of file JMathlib.hh.
|
inlineinherited |
Get value of parameter at given index.
| i | index |
Definition at line 539 of file JMathlib.hh.
|
inlineinherited |
Get value of parameter at given index.
| i | index |
Definition at line 551 of file JMathlib.hh.
|
inlineinherited |
Negate function.
Definition at line 169 of file JMathlib.hh.
|
inlineinherited |
Add function.
| f1 | function |
Definition at line 185 of file JMathlib.hh.
|
inlineinherited |
Subtract function.
| f1 | function |
Definition at line 201 of file JMathlib.hh.
|
inlineinherited |
Scale function.
| factor | factor |
Definition at line 217 of file JMathlib.hh.
|
inlineinherited |
Scale function.
| factor | factor |
Definition at line 233 of file JMathlib.hh.
|
mutableprivate |
|
static |
Definition at line 1942 of file JMathlib.hh.
| double JMATH::JGauss< ID_t, normalised >::center |
center
Definition at line 2016 of file JMathlib.hh.
| double JMATH::JGauss< ID_t, normalised >::sigma |
sigma
Definition at line 2017 of file JMathlib.hh.
|
staticconstexpr |
Definition at line 2019 of file JMathlib.hh.