/third_party/boost/libs/math/example/ |
D | distribution_construction.cpp | 46 using boost::math::negative_binomial; // typedef provides default type is double. 102 using boost::math::negative_binomial; in main() 107 negative_binomial mydist(8., 0.25); in main() 112 negative_binomial mydist10(5., 0.4); // Both arguments double. in main() 116 …negative_binomial mydist11(5, 0.4); // Using provided typedef of type double, and int and double a… in main() 121 negative_binomial mydist12(5., 0.4F); // Double and float arguments. in main() 122 negative_binomial mydist13(5, 1); // Both arguments integer. in main()
|
D | policy_ref_snip6.cpp | 13 using boost::math::negative_binomial; 17 double x = quantile(negative_binomial(20, 0.3), 0.05); // rounded up 27 from 27.3898 19 double y = quantile(complement(negative_binomial(20, 0.3), 0.05)); // rounded down to 69 from 68.15…
|
D | neg_binom_confidence_limits.cpp | 23 using boost::math::negative_binomial; 91 double lower = negative_binomial::find_lower_bound_on_p(trials, successes, alpha[i]/2); in confidence_limits_on_frequency() 92 double upper = negative_binomial::find_upper_bound_on_p(trials, successes, alpha[i]/2); in confidence_limits_on_frequency()
|
D | neg_binomial_sample_sizes.cpp | 12 using boost::math::negative_binomial; 79 << (int)ceil(negative_binomial::find_minimum_number_of_trials(failures, p, alpha[i])) in find_number_of_trials()
|
D | negative_binomial_example2.cpp | 14 using boost::math::negative_binomial; // typedef 38 negative_binomial mynbdist(8, 0.25); // Shorter method using typedef. in main()
|
D | negative_binomial_example1.cpp | 57 using boost::math::negative_binomial; // typedef provides default type is double. 115 negative_binomial nb(sales_quota, success_fraction); // type double by default. in main()
|
D | geometric_examples.cpp | 45 using boost::math::negative_binomial; // typedef provides default type is double. 138 negative_binomial nb(1, success_fraction); in main()
|
/third_party/boost/libs/random/test/ |
D | test_negative_binomial.cpp | 18 #define BOOST_RANDOM_DISTRIBUTION_NAME negative_binomial 19 #define BOOST_MATH_DISTRIBUTION boost::math::negative_binomial
|
/third_party/boost/libs/math/doc/distributions/ |
D | negative_binomial.qbk | 3 ``#include <boost/math/distributions/negative_binomial.hpp>`` 11 typedef negative_binomial_distribution<> negative_binomial; 50 [@http://en.wikipedia.org/wiki/Negative_binomial_distribution negative_binomial distribution]: 56 negative_binomial distribution gives the probability of observing 58 The negative_binomial distribution 103 geometric(p) = negative_binomial(1, p). 107 poisson([lambda]) = lim [sub r [rarr] [infin]] negative_binomial(r, r / ([lambda] + r))) 279 ``pdf(negative_binomial(r, p), k)``]] 284 ``cdf(negative_binomial(r, p), k)``]] 289 ``cdf(complement(negative_binomial(r, p), k))``]] [all …]
|
D | geometric_example.qbk | 10 [link math_toolkit.stat_tut.weg.neg_binom_eg.neg_binom_conf See negative_binomial confidence interv…
|
D | geometric.qbk | 96 __spaces `geometric(p) == negative_binomial(1, p)` 99 negative_binomial nb(1, success_fraction); 163 [link math_toolkit.stat_tut.weg.neg_binom_eg.neg_binom_conf See negative_binomial confidence interv…
|
D | dist_reference.qbk | 27 [include negative_binomial.qbk]
|
D | negative_binomial_example.qbk | 111 floor(negative_binomial::find_minimum_number_of_trials(failures, p, alpha[i]))
|
/third_party/boost/libs/math/reporting/performance/ |
D | test_distributions.cpp | 460 distribution_tester negative_binomial("NegativeBinomial"); in main() local 461 …negative_binomial.add_test_case(5, 0.125, two_param_quantile<boost::math::negative_binomial_distri… in main() 462 …negative_binomial.add_test_case(200, 0.75, two_param_quantile<boost::math::negative_binomial_distr… in main() 463 …negative_binomial.add_test_case(2000, 0.001, two_param_quantile<boost::math::negative_binomial_dis… in main() 464 …negative_binomial.add_test_case(20000, 0.5, two_param_quantile<boost::math::negative_binomial_dist… in main() 465 …negative_binomial.add_test_case(200000, 0.99, two_param_quantile<boost::math::negative_binomial_di… in main() 467 test_boost_2_param<boost::math::negative_binomial_distribution>(negative_binomial); in main() 610 …negative_binomial.run_timed_tests([](const std::vector<double>& v, double x) { return gsl_cdf_neg… in main() 678 …negative_binomial.run_timed_tests([](const std::vector<double>& v, double x) { return dnbinom(x, … in main() 679 …negative_binomial.run_timed_tests([](const std::vector<double>& v, double x) { return pnbinom(x, … in main() [all …]
|
/third_party/boost/libs/math/test/compile_test/ |
D | test_traits.cpp | 25 BOOST_STATIC_ASSERT(::boost::math::tools::is_distribution<negative_binomial>::value); 47 BOOST_STATIC_ASSERT(::boost::math::tools::is_scaled_distribution<negative_binomial>::value == false…
|
D | dist_neg_binom_incl_test.cpp | 18 TEST_DIST_FUNC(negative_binomial) in compile_and_link_test()
|
D | instantiate.hpp | 146 function_requires<DistributionConcept<dist_test::negative_binomial > >(); in instantiate()
|
/third_party/boost/libs/random/doc/ |
D | distribution_performance_linux.qbk | 8 [[negative_binomial][1.69549][2.29305][1.65563][2.45098]]
|
D | distribution_performance_windows.qbk | 8 [[negative_binomial][2.79065][3.99138][2.73358][3.72898]]
|
/third_party/boost/boost/math/distributions/ |
D | fwd.hpp | 138 typedef boost::math::negative_binomial_distribution<Type, Policy> negative_binomial;\
|
D | negative_binomial.hpp | 257 … typedef negative_binomial_distribution<double> negative_binomial; // Reserved name of type double. typedef
|
/third_party/boost/libs/math/test/ |
D | test_negative_binomial.cpp | 225 using ::boost::math::negative_binomial; in test_spots() 807 negative_binomial mynb1(2., 0.5); // Using typedef - default type is double. in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/math/dot_net_example/distribution_explorer/ |
D | readme.txt | 31 * negative_binomial
|
/third_party/boost/libs/math/doc/policies/ |
D | policy.qbk | 369 cdf(negative_binomial(20), x) <= 0.05 370 cdf(negative_binomial(20), y) >= 0.95 393 cdf(negative_binomial(20), x) >= 0.05 394 cdf(negative_binomial(20), y) <= 0.95
|