Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::math::binomial_distribution< RealType, Policy > Singleton Reference

#include <fwd.hpp>

Public Types

enum  interval_type {
  clopper_pearson_exact_interval,
  jeffreys_prior_interval
}
 
typedef RealType value_type
 
typedef Policy policy_type
 

Public Member Functions

 binomial_distribution (RealType n=1, RealType p=0.5)
 
RealType success_fraction () const
 
RealType trials () const
 

Static Public Member Functions

static RealType find_lower_bound_on_p (RealType trials, RealType successes, RealType probability, interval_type t=clopper_pearson_exact_interval)
 
static RealType find_upper_bound_on_p (RealType trials, RealType successes, RealType probability, interval_type t=clopper_pearson_exact_interval)
 
static RealType find_minimum_number_of_trials (RealType k, RealType p, RealType alpha)
 
static RealType find_maximum_number_of_trials (RealType k, RealType p, RealType alpha)
 

Member Typedef Documentation

template<class RealType = double, class Policy = policies::policy<>>
typedef Policy boost::math::binomial_distribution< RealType, Policy >::policy_type
template<class RealType = double, class Policy = policies::policy<>>
typedef RealType boost::math::binomial_distribution< RealType, Policy >::value_type

Member Enumeration Documentation

template<class RealType = double, class Policy = policies::policy<>>
enum boost::math::binomial_distribution::interval_type
Enumerator
clopper_pearson_exact_interval 
jeffreys_prior_interval 

Constructor & Destructor Documentation

template<class RealType = double, class Policy = policies::policy<>>
boost::math::binomial_distribution< RealType, Policy >::binomial_distribution ( RealType  n = 1,
RealType  p = 0.5 
)
inline

Member Function Documentation

template<class RealType = double, class Policy = policies::policy<>>
static RealType boost::math::binomial_distribution< RealType, Policy >::find_lower_bound_on_p ( RealType  trials,
RealType  successes,
RealType  probability,
interval_type  t = clopper_pearson_exact_interval 
)
inlinestatic
template<class RealType = double, class Policy = policies::policy<>>
static RealType boost::math::binomial_distribution< RealType, Policy >::find_maximum_number_of_trials ( RealType  k,
RealType  p,
RealType  alpha 
)
inlinestatic
template<class RealType = double, class Policy = policies::policy<>>
static RealType boost::math::binomial_distribution< RealType, Policy >::find_minimum_number_of_trials ( RealType  k,
RealType  p,
RealType  alpha 
)
inlinestatic
template<class RealType = double, class Policy = policies::policy<>>
static RealType boost::math::binomial_distribution< RealType, Policy >::find_upper_bound_on_p ( RealType  trials,
RealType  successes,
RealType  probability,
interval_type  t = clopper_pearson_exact_interval 
)
inlinestatic
template<class RealType = double, class Policy = policies::policy<>>
RealType boost::math::binomial_distribution< RealType, Policy >::success_fraction ( ) const
inline
template<class RealType = double, class Policy = policies::policy<>>
RealType boost::math::binomial_distribution< RealType, Policy >::trials ( ) const
inline

The documentation for this singleton was generated from the following file: