Home
last modified time | relevance | path

Searched refs:uniform_01 (Results 1 – 25 of 37) sorted by relevance

12

/third_party/boost/boost/random/
Duniform_01.hpp47 class uniform_01 class
214 class uniform_01
221 uniform_01() {}
223 explicit uniform_01(typename traits::rvalue_type rng)
231 operator<<(std::basic_ostream<CharT,Traits>& os, const uniform_01& u)
239 operator>>(std::basic_istream<CharT,Traits>& is, uniform_01& u)
251 using random::uniform_01;
Dpoisson_distribution.hpp277 RealType v = uniform_01<RealType>()(urng); in generate()
285 u = uniform_01<RealType>()(urng) - 0.5; in generate()
289 v = uniform_01<RealType>()(urng) * _u._ptrd.v_r; in generate()
325 RealType u = uniform_01<RealType>()(urng); in invert()
Duniform_on_sphere.hpp170 if(uniform_01<RealType>()(eng) < 0.5) { in operator ()()
179 uniform_01<RealType> uniform; in operator ()()
196 uniform_01<RealType> uniform; in operator ()()
Dgamma_distribution.hpp175 result_type y = tan(pi * uniform_01<RealType>()(eng)); in operator ()()
180 if(uniform_01<RealType>()(eng) > in operator ()()
190 result_type u = uniform_01<RealType>()(eng); in operator ()()
Dbinomial_distribution.hpp305 RealType v = uniform_01<RealType>()(urng); in generate()
313 u = uniform_01<RealType>()(urng) - 0.5; in generate()
317 v = uniform_01<RealType>()(urng) * _u.btrd.v_r; in generate()
376 RealType u = uniform_01<RealType>()(urng); in invert()
Dextreme_value_distribution.hpp99 return _a - log(-log(uniform_01<RealType>()(urng))) * _b; in operator ()()
Dweibull_distribution.hpp100 return _b*pow(-log(1 - uniform_01<RealType>()(urng)), 1/_a); in operator ()()
Dlaplace_distribution.hpp95 if(uniform_01<RealType>()(urng) < 0.5) in operator ()()
Dcauchy_distribution.hpp158 RealType val = uniform_01<RealType>()(eng)-result_type(0.5); in operator ()()
Dgeometric_distribution.hpp158 RealType x = RealType(1) - boost::uniform_01<RealType>()(eng); in operator ()()
Dexponential_distribution.hpp198 RealType y01 = uniform_01<RealType>()(eng); in operator ()()
/third_party/boost/boost/graph/
Drmat_graph_generator.hpp29 using boost::uniform_01;
87 shared_ptr< uniform_01< RandomGenerator > > prob, T n, unsigned int SCALE, in generate_edge()
174 this->gen.reset(new uniform_01< RandomGenerator >(gen)); in rmat_iterator()
236 shared_ptr< uniform_01< RandomGenerator > > gen;
295 this->gen.reset(new uniform_01< RandomGenerator >(gen)); in sorted_rmat_iterator()
362 shared_ptr< uniform_01< RandomGenerator > > gen;
403 this->gen.reset(new uniform_01< RandomGenerator >(gen)); in unique_rmat_iterator()
487 shared_ptr< uniform_01< RandomGenerator > > gen;
532 this->gen.reset(new uniform_01< RandomGenerator >(gen)); in sorted_unique_rmat_iterator()
648 shared_ptr< uniform_01< RandomGenerator > > gen;
Derdos_renyi_generator.hpp145 this->gen.reset(new uniform_01< RandomGenerator* >(&gen)); in sorted_erdos_renyi_iterator()
210 shared_ptr< uniform_01< RandomGenerator* > > gen;
Dtopology.hpp226 typedef uniform_01< RandomNumberGenerator, double > rand_t;
326 typedef uniform_01< RandomNumberGenerator, double > rand_t;
435 typedef uniform_01< RandomNumberGenerator, double > rand_t;
614 typedef uniform_01< RandomNumberGenerator, double > rand_t;
Dsmall_world_generator.hpp63 uniform_01< RandomGenerator, double > rand01(*gen); in operator ++()
Dssca_graph_generator.hpp80 uniform_01< RandomGenerator > prob(*gen); in operator ++()
/third_party/boost/boost/graph/distributed/
Drmat_graph_generator.hpp58 this->gen.reset(new uniform_01<RandomGenerator>(gen)); in scalable_rmat_iterator()
65 boost::uniform_01<RandomGenerator> prob(gen); in scalable_rmat_iterator()
154 shared_ptr<uniform_01<RandomGenerator> > gen;
/third_party/boost/libs/random/doc/
DJamfile.v262 uniform_01
122uniform_01=\"@xmlonly<classname alt=\\\"boost::random::uniform_01\\\">uniform_01</classname>@endxm…
Ddistribution_performance_linux.qbk11 [[uniform_01][21.692][72.4638][17.1233][116.279]]
Ddistribution_performance_windows.qbk11 [[uniform_01][36.63][95.6938][26.3783][85.4701]]
/third_party/boost/libs/random/test/
Dtest_binomial.cpp27 #define BOOST_RANDOM_ARG2_DISTRIBUTION(n) boost::uniform_01<>()
Dtest_negative_binomial.cpp27 #define BOOST_RANDOM_ARG2_DISTRIBUTION(n) boost::uniform_01<>()
Dtest_bernoulli.cpp50 boost::uniform_01<> rdist; in do_tests()
/third_party/boost/libs/random/example/
Dintersections.cpp48 boost::random::uniform_01<double> dist; in main()
/third_party/boost/libs/graph/test/
Dgursoy_atun_layout_test.cpp70 boost::uniform_01< boost::minstd_rand > random_edge_weight(edge_weight_gen); in main()

12