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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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;\
|
||||
|
||||
Reference in New Issue
Block a user