Jpp
master_rocky-43-ge265d140c
the software that should make you happy
|
Gauss function object. More...
#include <JGauss.hh>
Public Types | |
typedef double JGauss::* | parameter_type |
Type definition of fit parameter. More... | |
Public Member Functions | |
JGauss () | |
Default constructor. More... | |
JGauss (const JGauss_t &gauss) | |
Copy constructor. More... | |
JGauss (const double mean, const double sigma, const double signal=1.0, const double background=0.0) | |
Constructor. More... | |
double | getValue (const double x) const |
Function value. More... | |
double | getDerivative (const double x) const |
Derivative value. More... | |
double | operator() (const double x) const |
Function value. More... | |
const JGauss_t & | getGradient (const double x) const |
Get gradient. More... | |
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... | |
bool | equals (const JGauss_t &gauss, const double eps=std::numeric_limits< double >::min()) const |
Equality. More... | |
JGauss_t & | add (const JGauss_t &gauss) |
Add gauss. More... | |
JGauss_t & | sub (const JGauss_t &gauss) |
Subtract gauss. More... | |
JGauss_t & | mul (const double factor) |
Scale gauss. More... | |
JGauss_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
double | operator() (const Args &...args) const |
Function value. More... | |
JGauss< ID_t > & | negate () |
Negate function. More... | |
JGauss< ID_t > & | add (const JGauss< ID_t > &f1) |
Add function. More... | |
JGauss< ID_t > & | sub (const JGauss< ID_t > &f1) |
Subtract function. More... | |
JGauss< ID_t > & | mul (const double factor) |
Scale function. More... | |
JGauss< ID_t > & | div (const double factor) |
Scale function. More... | |
Public Attributes | |
double | center |
center More... | |
double | sigma |
sigma More... | |
double | mean |
double | signal |
double | background |
Static Public Attributes | |
static const int | ID = ID_t |
static const parameter_list< JGauss > | parameters = { &JGauss<ID_t, normalised>::center, &JGauss<ID_t, normalised>::sigma } |
parameters More... | |
Private Member Functions | |
double | get (const double u) const |
Get ordinate value. More... | |
double | get (const double u) const |
Get ordinate value. More... | |
Private Attributes | |
JGauss_t | gradient |
Gauss function object.
Gauss function.
Evaluates function, derivative and gradient values.
typedef double JGauss::* JMATH::JGauss< ID_t, normalised >::parameter_type |
|
inline |
|
inline |
Copy constructor.
gauss | gauss |
Definition at line 195 of file JGauss.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Function value.
x | abscissa value |
Definition at line 250 of file JGauss.hh.
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Get gradient.
x | abscissa value |
Definition at line 1650 of file JMathlib.hh.
|
inlineprivate |
Get ordinate value.
u | abscissa value |
Definition at line 1675 of file JMathlib.hh.
|
inlineinherited |
Equality.
gauss | gauss |
eps | numerical precision |
|
inlineinherited |
|
inlineinherited |
|
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.
|
mutableprivate |
|
static |
Definition at line 1590 of file JMathlib.hh.
double JMATH::JGauss< ID_t, normalised >::center |
center
Definition at line 1664 of file JMathlib.hh.
double JMATH::JGauss< ID_t, normalised >::sigma |
sigma
Definition at line 1665 of file JMathlib.hh.
|
static |