|
| PowerHalfCauchy1D (double location, double scale, unsigned m, unsigned n) |
|
virtual PowerHalfCauchy1D * | clone () const |
|
unsigned | m () 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 PowerHalfCauchy1D * | 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< PowerHalfCauchy1D > |
|
◆ PowerHalfCauchy1D()
npstat::PowerHalfCauchy1D::PowerHalfCauchy1D |
( |
double |
location, |
|
|
double |
scale, |
|
|
unsigned |
m, |
|
|
unsigned |
n |
|
) |
| |
Must have 2*n > m + 1 (otherwise the density integral will not converge)
◆ classId()
virtual gs::ClassId npstat::PowerHalfCauchy1D::classId |
( |
| ) |
const |
|
inlinevirtual |
◆ clone()
◆ isEqual()
virtual bool npstat::PowerHalfCauchy1D::isEqual |
( |
const AbsDistribution1D & |
other | ) |
const |
|
protectedvirtual |
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: