2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 07:02:08 +00:00

[arcsine]Fix concept failures

This commit is contained in:
jzmaddock
2014-10-30 11:46:05 +00:00
parent 477e194490
commit 6bf9d2bffc
2 changed files with 7 additions and 3 deletions

View File

@@ -367,7 +367,9 @@ namespace boost
template <class RealType, class Policy>
inline RealType quantile(const arcsine_distribution<RealType, Policy>& dist, const RealType& p)
{ // Quantile or Percent Point arcsine function or
{
BOOST_MATH_STD_USING
// Quantile or Percent Point arcsine function or
// Inverse Cumulative probability distribution function CDF.
// Return x (0 <= x <= 1),
// for a given probability p (0 <= p <= 1).
@@ -409,7 +411,9 @@ namespace boost
template <class RealType, class Policy>
inline RealType quantile(const complemented2_type<arcsine_distribution<RealType, Policy>, RealType>& c)
{ // Complement Quantile or Percent Point arcsine function.
{
BOOST_MATH_STD_USING
// Complement Quantile or Percent Point arcsine function.
// Return the number of expected x for a given
// complement of the probability q.

View File

@@ -117,7 +117,7 @@ class weibull_distribution;
}} // namespaces
#define BOOST_MATH_DECLARE_DISTRIBUTIONS(Type, Policy)\
typedef boost::math::arcsine_distribution<Type, Policy> bernoulli;\
typedef boost::math::arcsine_distribution<Type, Policy> arcsine;\
typedef boost::math::bernoulli_distribution<Type, Policy> bernoulli;\
typedef boost::math::beta_distribution<Type, Policy> beta;\
typedef boost::math::binomial_distribution<Type, Policy> binomial;\