BCCauchyPrior.cxx
43 return (n == 1) ? -std::numeric_limits<double>::infinity() : std::numeric_limits<double>::quiet_NaN();
46 return (n == 1) ? +std::numeric_limits<double>::infinity() : std::numeric_limits<double>::quiet_NaN();
57 return fMean * fMean - fScale * fScale + fScale * (log((1 + H * H) / (1 + L * L)) + xmax - xmin) / (atan(H) - atan(L));
virtual double GetIntegral(double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get integral of prior.
Definition: BCCauchyPrior.cxx:63
BCAux::BCRange RangeType(double xmin, double xmax)
Return type of range as a BCAux::BCRange enum.
Definition: BCAux.cxx:85
lower < upper, lower limit finite, upper limit infinite
Definition: BCAux.h:91
lower < upper, lower limit infinite, upper limit finite
Definition: BCAux.h:90
virtual double GetRawMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get raw moment of prior distrubion.
Definition: BCCauchyPrior.cxx:26
virtual double GetRawMoment(unsigned n, double xmin=-std::numeric_limits< double >::infinity(), double xmax=std::numeric_limits< double >::infinity())
Get raw moment of prior distrubion.
Definition: BCPrior.cxx:72