Home
last modified time | relevance | path

Searched refs:negative_binomial_distribution (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/libs/math/test/
Dtest_negative_binomial.cpp34 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 …]
Dtest_real_concept_neg_bin.cpp34 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()
Dtest_geometric.cpp729 using boost::math::negative_binomial_distribution; in test_spots()
738negative_binomial_distribution<RealType>::find_lower_bound_on_p(k, static_cast<RealType>(1), alpha… in test_spots()
742negative_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/
Ddistribution_construction.cpp45 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 …]
Dpolicy_ref_snip5.cpp13 using boost::math::negative_binomial_distribution;
17 typedef negative_binomial_distribution<
Dpolicy_ref_snip8.cpp13 using boost::math::negative_binomial_distribution;
17 typedef negative_binomial_distribution<
Dpolicy_ref_snip7.cpp13 using boost::math::negative_binomial_distribution;
17 typedef negative_binomial_distribution<
Dnegative_binomial_example2.cpp13 using boost::math::negative_binomial_distribution;
/third_party/boost/boost/random/
Dnegative_binomial_distribution.hpp37 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/
Dnegative_binomial.hpp136 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 …]
Dfwd.hpp76 class negative_binomial_distribution;
138 typedef boost::math::negative_binomial_distribution<Type, Policy> negative_binomial;\
/third_party/boost/libs/math/test/compile_test/
Ddist_neg_binom_incl_test.cpp21 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…
Ddistribution_concept_check.cpp39 …function_requires<DistributionConcept<negative_binomial_distribution<RealType, custom_policy> > >(… in instantiate()
/third_party/boost/libs/math/doc/distributions/
Dnegative_binomial.qbk9 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);
255negative_binomial_distribution<RealType>::find_maximum_number_of_trials(0, 1.0-1.0/1000000, 0.05);
Dnegative_binomial_example.qbk19 `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/
Ddist_graphs.cpp48 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/
Dtest_negative_binomial.cpp17 #define BOOST_RANDOM_DISTRIBUTION boost::random::negative_binomial_distribution<>
Dtest_negative_binomial_distribution.cpp15 #define BOOST_RANDOM_DISTRIBUTION boost::random::negative_binomial_distribution<>
/third_party/boost/libs/math/dot_net_example/boost_math/
Dboost_math.cpp94 …w concrete_distribution<boost::math::negative_binomial_distribution<> >(boost::math::negative_bino… in any_distribution()
/third_party/boost/libs/math/reporting/performance/
Dtest_distributions.cpp461 …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/
Drandom.qbk94 …inomial_distribution [classref boost::random::negative_binomial_distribution negative_binomial_dis…
DJamfile.v244 negative_binomial_distribution
/third_party/boost/libs/math/doc/distexplorer/
Ddistexplorer.qbk30 *negative_binomial_distribution
/third_party/boost/libs/random/performance/
Drandom_speed.cpp262 timing(make_gen(gen, boost::random::negative_binomial_distribution<int>(4, 0.8)), in distrib()
/third_party/boost/boost/math/concepts/
Ddistributions.hpp371 static void test_extra_members(const boost::math::negative_binomial_distribution<R, P>& d) in test_extra_members()

12