Home
last modified time | relevance | path

Searched refs:uniform_distribution (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/libs/math/test/
Dtest_uniform.cpp24 using boost::math::uniform_distribution;
41 uniform_distribution<RealType>(lower, upper), // distribution. in check_uniform()
48 uniform_distribution<RealType>(lower, upper), // distribution. in check_uniform()
54 uniform_distribution<RealType>(lower, upper), // distribution. in check_uniform()
61 uniform_distribution<RealType>(lower, upper), // distribution. in check_uniform()
86 pdf(uniform_distribution<RealType>(0, 1), static_cast<RealType>(0)), in test_spots()
90 pdf(uniform_distribution<RealType>(0, 1), static_cast<RealType>(1)), in test_spots()
94 pdf(uniform_distribution<RealType>(0, 1), static_cast<RealType>(-1)), in test_spots()
98 pdf(uniform_distribution<RealType>(0, 1), static_cast<RealType>(2)), in test_spots()
112 …pdf(uniform_distribution<RealType>(0, 1), static_cast<RealType>(std::numeric_limits<RealType>::inf… in test_spots()
[all …]
/third_party/boost/boost/math/distributions/
Duniform.hpp113 class uniform_distribution class
119 uniform_distribution(RealType l_lower = 0, RealType l_upper = 1) // Constructor. in uniform_distribution() function in boost::math::uniform_distribution
141 typedef uniform_distribution<double> uniform;
144 …inline const std::pair<RealType, RealType> range(const uniform_distribution<RealType, Policy>& /* … in range()
152 …inline const std::pair<RealType, RealType> support(const uniform_distribution<RealType, Policy>& d… in support()
160 inline RealType pdf(const uniform_distribution<RealType, Policy>& dist, const RealType& x) in pdf()
185 inline RealType cdf(const uniform_distribution<RealType, Policy>& dist, const RealType& x) in cdf()
210 inline RealType quantile(const uniform_distribution<RealType, Policy>& dist, const RealType& p) in quantile()
235 inline RealType cdf(const complemented2_type<uniform_distribution<RealType, Policy>, RealType>& c) in cdf()
261 …inline RealType quantile(const complemented2_type<uniform_distribution<RealType, Policy>, RealType… in quantile()
[all …]
Dfwd.hpp112 class uniform_distribution;
150 typedef boost::math::uniform_distribution<Type, Policy> uniform;\
/third_party/boost/libs/math/test/compile_test/
Ddist_uniform_incl_test.cpp21 template class boost::math::uniform_distribution<float, boost::math::policies::policy<> >;
22 template class boost::math::uniform_distribution<double, boost::math::policies::policy<> >;
24 template class boost::math::uniform_distribution<long double, boost::math::policies::policy<> >;
Ddistribution_concept_check.cpp51 function_requires<DistributionConcept<uniform_distribution<RealType, custom_policy> > >(); in instantiate()
Dinstantiate.hpp89 function_requires<DistributionConcept<uniform_distribution<RealType> > >(); in instantiate()
124 function_requires<DistributionConcept<uniform_distribution<RealType, test_policy> > >(); in instantiate()
/third_party/boost/libs/math/doc/distributions/
Duniform.qbk9 class uniform_distribution;
11 typedef uniform_distribution<> uniform;
14 class uniform_distribution
19 uniform_distribution(RealType lower = 0, RealType upper = 1); // Constructor.
24 }; // class uniform_distribution
69 uniform_distribution(RealType lower = 0, RealType upper = 1);
71 Constructs a [@http://en.wikipedia.org/wiki/uniform_distribution
/third_party/boost/libs/math/doc/graphs/
Ddist_graphs.cpp578 distribution_plotter<boost::math::uniform_distribution<> > in main()
580 uniform_plotter.add(boost::math::uniform_distribution<>(0, 1), "{0,1}"); in main()
581 uniform_plotter.add(boost::math::uniform_distribution<>(0, 3), "{0,3}"); in main()
582 uniform_plotter.add(boost::math::uniform_distribution<>(-2, 3), "{-2,3}"); in main()
583 uniform_plotter.add(boost::math::uniform_distribution<>(-1, 1), "{-1,1}"); in main()
586 distribution_plotter<boost::math::uniform_distribution<> > in main()
588 uniform_cdf_plotter.add(boost::math::uniform_distribution<>(0, 1), "{0,1}"); in main()
589 uniform_cdf_plotter.add(boost::math::uniform_distribution<>(0, 3), "{0,3}"); in main()
590 uniform_cdf_plotter.add(boost::math::uniform_distribution<>(-2, 3), "{-2,3}"); in main()
591 uniform_cdf_plotter.add(boost::math::uniform_distribution<>(-1, 1), "{-1,1}"); in main()
/third_party/boost/libs/compute/example/
Dk_means.cpp52 compute::uniform_real_distribution<float_> uniform_distribution(0, 800); in main() local
55 uniform_distribution.generate( in main()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dcutmix_batch_op.cc202 std::uniform_real_distribution<double> uniform_distribution(0.0, 1.0); in Compute() local
221 double random_number = uniform_distribution(rnd_); in Compute()
/third_party/boost/boost/math/concepts/
Ddistributions.hpp468 static void test_extra_members(const boost::math::uniform_distribution<R, P>& d) in test_extra_members()