/third_party/boost/libs/math/test/ |
D | test_negative_binomial.cpp | 34 using boost::math::negative_binomial_distribution; 62 boost::math::negative_binomial_distribution<RealType> bn(N, p); in test_spot() 109 negative_binomial_distribution<RealType>::find_lower_bound_on_p( in test_spot() 116 negative_binomial_distribution<RealType>::find_upper_bound_on_p( in test_spot() 128 negative_binomial_distribution<RealType>::find_lower_bound_on_p( in test_spot() 131 negative_binomial_distribution<RealType>::find_upper_bound_on_p( in test_spot() 135 negative_binomial_distribution<RealType>::find_lower_bound_on_p( in test_spot() 143 negative_binomial_distribution<RealType>::find_upper_bound_on_p( in test_spot() 151 negative_binomial_distribution<RealType>::find_lower_bound_on_p( in test_spot() 154 negative_binomial_distribution<RealType>::find_upper_bound_on_p( in test_spot() [all …]
|
D | test_real_concept_neg_bin.cpp | 34 using boost::math::negative_binomial_distribution; in test_spot() 43 …result = negative_binomial_distribution<RealType>::find_lower_bound_on_p(static_cast<RealType>(k),… in test_spot() 44 result = negative_binomial_distribution<RealType>::find_lower_bound_on_p(k, 1, alpha); in test_spot()
|
D | test_geometric.cpp | 729 using boost::math::negative_binomial_distribution; in test_spots() 738 …negative_binomial_distribution<RealType>::find_lower_bound_on_p(k, static_cast<RealType>(1), alpha… in test_spots() 742 …negative_binomial_distribution<RealType>::find_upper_bound_on_p(k, static_cast<RealType>(1), alpha… in test_spots() 746 negative_binomial_distribution<RealType>::find_maximum_number_of_trials(k, p, alpha), in test_spots()
|
/third_party/boost/libs/math/example/ |
D | distribution_construction.cpp | 45 using boost::math::negative_binomial_distribution; // default type is double. 67 boost::math::negative_binomial_distribution<double> mydist0(8., 0.25); in main() 76 using boost::math::negative_binomial_distribution; in main() 85 negative_binomial_distribution<> mydist9(8., 0.25); // Uses default `RealType = double`. in main() 161 negative_binomial_distribution<double> mydist1(8., 0.25); in main() 164 negative_binomial_distribution<float> mydist2(8., 0.25); in main() 167 negative_binomial_distribution<float> mydist3(8, 0.25); in main() 170 negative_binomial_distribution<float> mydist4(8.F, 0.25F); in main() 173 negative_binomial_distribution<float> mydist5(8, 1); in main() 176 negative_binomial_distribution<double> mydist6(5., 0.4); in main() [all …]
|
D | policy_ref_snip5.cpp | 13 using boost::math::negative_binomial_distribution; 17 typedef negative_binomial_distribution<
|
D | policy_ref_snip8.cpp | 13 using boost::math::negative_binomial_distribution; 17 typedef negative_binomial_distribution<
|
D | policy_ref_snip7.cpp | 13 using boost::math::negative_binomial_distribution; 17 typedef negative_binomial_distribution<
|
D | negative_binomial_example2.cpp | 13 using boost::math::negative_binomial_distribution;
|
/third_party/boost/boost/random/ |
D | negative_binomial_distribution.hpp | 37 class negative_binomial_distribution { class 44 typedef negative_binomial_distribution distribution_type; 99 explicit negative_binomial_distribution(IntType k_arg = 1, in negative_binomial_distribution() function in boost::random::negative_binomial_distribution 108 explicit negative_binomial_distribution(const param_type& parm) in negative_binomial_distribution() function in boost::random::negative_binomial_distribution 131 return negative_binomial_distribution(parm)(urng); in operator ()() 165 const negative_binomial_distribution& bd) in operator <<() 175 negative_binomial_distribution& bd) in operator >>() 184 friend bool operator==(const negative_binomial_distribution& lhs, in operator ==() 185 const negative_binomial_distribution& rhs) in operator ==() 191 friend bool operator!=(const negative_binomial_distribution& lhs, in operator !=() [all …]
|
/third_party/boost/boost/math/distributions/ |
D | negative_binomial.hpp | 136 class negative_binomial_distribution class 142 negative_binomial_distribution(RealType r, RealType p) : m_r(r), m_p(p) in negative_binomial_distribution() function in boost::math::negative_binomial_distribution 257 … typedef negative_binomial_distribution<double> negative_binomial; // Reserved name of type double. 260 …inline const std::pair<RealType, RealType> range(const negative_binomial_distribution<RealType, Po… in range() 267 …inline const std::pair<RealType, RealType> support(const negative_binomial_distribution<RealType, … in support() 275 inline RealType mean(const negative_binomial_distribution<RealType, Policy>& dist) in mean() 288 inline RealType mode(const negative_binomial_distribution<RealType, Policy>& dist) in mode() 295 inline RealType skewness(const negative_binomial_distribution<RealType, Policy>& dist) in skewness() 306 inline RealType kurtosis(const negative_binomial_distribution<RealType, Policy>& dist) in kurtosis() 315 inline RealType kurtosis_excess(const negative_binomial_distribution<RealType, Policy>& dist) in kurtosis_excess() [all …]
|
D | fwd.hpp | 76 class negative_binomial_distribution; 138 typedef boost::math::negative_binomial_distribution<Type, Policy> negative_binomial;\
|
/third_party/boost/libs/math/test/compile_test/ |
D | dist_neg_binom_incl_test.cpp | 21 template class boost::math::negative_binomial_distribution<float, boost::math::policies::policy<> >; 22 template class boost::math::negative_binomial_distribution<double, boost::math::policies::policy<> … 24 template class boost::math::negative_binomial_distribution<long double, boost::math::policies::poli…
|
D | distribution_concept_check.cpp | 39 …function_requires<DistributionConcept<negative_binomial_distribution<RealType, custom_policy> > >(… in instantiate()
|
/third_party/boost/libs/math/doc/distributions/ |
D | negative_binomial.qbk | 9 class negative_binomial_distribution; 11 typedef negative_binomial_distribution<> negative_binomial; 14 class negative_binomial_distribution 20 negative_binomial_distribution(RealType r, RealType p); 49 The class type `negative_binomial_distribution` represents a 115 negative_binomial_distribution(RealType r, RealType p); 156 p``[sub min]`` = negative_binomial_distribution<RealType>::find_lower_bound_on_p( 192 p``[sub max]`` = negative_binomial_distribution<RealType>::find_upper_bound_on_p( 225 negative_binomial_distribution<RealType>::find_minimum_number_of_trials(10, 0.5, 0.05); 255 … negative_binomial_distribution<RealType>::find_maximum_number_of_trials(0, 1.0-1.0/1000000, 0.05);
|
D | negative_binomial_example.qbk | 19 `negative_binomial_distribution<>::find_lower_bound_on_p` and 20 `negative_binomial_distribution<>::find_upper_bound_on_p`
|
/third_party/boost/libs/math/doc/graphs/ |
D | dist_graphs.cpp | 48 struct is_discrete_distribution<boost::math::negative_binomial_distribution<T,P> > 622 distribution_plotter<boost::math::negative_binomial_distribution<> > in main() 624 …negative_binomial_plotter.add(boost::math::negative_binomial_distribution<>(20, 0.25), "n=20 p=0.2… in main() 625 …negative_binomial_plotter.add(boost::math::negative_binomial_distribution<>(20, 0.5), "n=20 p=0.5"… in main() 626 …negative_binomial_plotter.add(boost::math::negative_binomial_distribution<>(20, 0.75), "n=20 p=0.7… in main() 629 distribution_plotter<boost::math::negative_binomial_distribution<> > in main() 631 …negative_binomial_plotter2.add(boost::math::negative_binomial_distribution<>(10, 0.5), "n=10 p=0.5… in main() 632 …negative_binomial_plotter2.add(boost::math::negative_binomial_distribution<>(20, 0.5), "n=20 p=0.5… in main() 633 …negative_binomial_plotter2.add(boost::math::negative_binomial_distribution<>(70, 0.5), "n=70 p=0.5… in main()
|
/third_party/boost/libs/random/test/ |
D | test_negative_binomial.cpp | 17 #define BOOST_RANDOM_DISTRIBUTION boost::random::negative_binomial_distribution<>
|
D | test_negative_binomial_distribution.cpp | 15 #define BOOST_RANDOM_DISTRIBUTION boost::random::negative_binomial_distribution<>
|
/third_party/boost/libs/math/dot_net_example/boost_math/ |
D | boost_math.cpp | 94 …w concrete_distribution<boost::math::negative_binomial_distribution<> >(boost::math::negative_bino… in any_distribution()
|
/third_party/boost/libs/math/reporting/performance/ |
D | test_distributions.cpp | 461 …mial.add_test_case(5, 0.125, two_param_quantile<boost::math::negative_binomial_distribution<> >()); in main() 462 …ial.add_test_case(200, 0.75, two_param_quantile<boost::math::negative_binomial_distribution<> >()); in main() 463 …l.add_test_case(2000, 0.001, two_param_quantile<boost::math::negative_binomial_distribution<> >()); in main() 464 …al.add_test_case(20000, 0.5, two_param_quantile<boost::math::negative_binomial_distribution<> >()); in main() 465 ….add_test_case(200000, 0.99, two_param_quantile<boost::math::negative_binomial_distribution<> >()); in main() 467 test_boost_2_param<boost::math::negative_binomial_distribution>(negative_binomial); in main()
|
/third_party/boost/libs/random/doc/ |
D | random.qbk | 94 …inomial_distribution [classref boost::random::negative_binomial_distribution negative_binomial_dis…
|
D | Jamfile.v2 | 44 negative_binomial_distribution
|
/third_party/boost/libs/math/doc/distexplorer/ |
D | distexplorer.qbk | 30 *negative_binomial_distribution
|
/third_party/boost/libs/random/performance/ |
D | random_speed.cpp | 262 timing(make_gen(gen, boost::random::negative_binomial_distribution<int>(4, 0.8)), in distrib()
|
/third_party/boost/boost/math/concepts/ |
D | distributions.hpp | 371 static void test_extra_members(const boost::math::negative_binomial_distribution<R, P>& d) in test_extra_members()
|