Jpp in_tag_pdf_generation
the software that should make you happy
|
Bell function object. More...
#include <JBell.hh>
Public Types | |
typedef double JBell_t::* | parameter_type |
Type definition of fit parameter. | |
Public Member Functions | |
JBell () | |
Default constructor. | |
JBell (const JBell_t &bell, const double alpha=2.0) | |
Copy constructor. | |
JBell (const double mean, const double sigma, const double signal=1.0, const double background=0.0, const double alpha=2.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 JBell_t & | 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. | |
Public Attributes | |
double | mean |
double | sigma |
double | signal |
double | background |
Private Member Functions | |
double | get (const double u) const |
Get ordinate value. | |
Static Private Member Functions | |
static double | _f (const double x, const double a) |
Power. | |
Private Attributes | |
double | alpha |
power | |
double | V |
normalisation constant | |
JBell_t | gradient |
Bell function object.
This function object correspods to a Gauss with a different power (alpha
) for the exponential term.
Evaluates function, derivative and gradient values.
double JBell_t::* JMATH::JBell::parameter_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Derivative value.
x | abscissa value |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlineprivate |
|
inlineinherited |
Equality.
gauss | gauss |
eps | numerical precision |
Definition at line 70 of file JGauss.hh.
|
inlineinherited |
|
inlineinherited |