|
| PowerRatio1D (double location, double scale, int twom, unsigned n) |
|
virtual PowerRatio1D * | clone () const |
|
unsigned | twom () const |
|
unsigned | n () const |
|
virtual gs::ClassId | classId () const |
|
virtual bool | write (std::ostream &os) const |
|
| AbsScalableDistribution1D (const double location, const double scale) |
|
double | location () const |
|
double | scale () const |
|
void | setLocation (const double v) |
|
void | setScale (const double v) |
|
double | density (const double x) const |
|
double | cdf (const double x) const |
|
double | exceedance (const double x) const |
|
double | quantile (const double x) const |
|
virtual unsigned | random (AbsRandomGenerator &g, double *generatedRandom) const |
|
bool | operator== (const AbsDistribution1D &r) const |
|
bool | operator!= (const AbsDistribution1D &r) const |
|
long double | empiricalMoment (long double center, unsigned order, unsigned nIntegrationPoints=1024U, bool useFejerQuadrature=false) const |
|
template<class Functor > |
double | expectation (const Functor &fcn, unsigned nIntegrationPoints=1024U, bool useFejerQuadrature=false) const |
|
|
static const char * | classname () |
|
static unsigned | version () |
|
static PowerRatio1D * | read (const gs::ClassId &id, std::istream &in) |
|
static bool | read (std::istream &is, double *location, double *scale) |
|
static const char * | classname () |
|
static unsigned | version () |
|
static AbsDistribution1D * | read (const gs::ClassId &id, std::istream &) |
|
|
class | ScalableDistribution1DFactory< PowerRatio1D > |
|
◆ PowerRatio1D()
npstat::PowerRatio1D::PowerRatio1D |
( |
double |
location, |
|
|
double |
scale, |
|
|
int |
twom, |
|
|
unsigned |
n |
|
) |
| |
Parameter "twom" is 2*m. Must have 2*n > twom + 2 (otherwise the density integral will not converge). twom must also be >= -1 (so that m >= -1/2).
◆ classId()
virtual gs::ClassId npstat::PowerRatio1D::classId |
( |
| ) |
const |
|
inlinevirtual |
◆ clone()
◆ isEqual()
Derived classes should override the following method as long as they have at least one additional data member. Don't forget to call "isEqual" of the base class inside the derived classes.
Reimplemented from npstat::AbsScalableDistribution1D.
The documentation for this class was generated from the following file: