aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2009-06-08 14:38:48 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2009-06-08 14:38:48 +0000
commitb01630bb3d498de236ebcfffdeb243431776f311 (patch)
treea53cbfe8bd55c627775514f64ff7af66570549c5 /gcc/params.h
parent06ddd8716e4e231b0356a3c78f0d54f7f7282c5e (diff)
downloadgcc-b01630bb3d498de236ebcfffdeb243431776f311.zip
gcc-b01630bb3d498de236ebcfffdeb243431776f311.tar.gz
gcc-b01630bb3d498de236ebcfffdeb243431776f311.tar.bz2
random.tcc (gamma_distribution<>::operator() (_UniformRandomNumberGenerator&, const param_type&): Redo, using the Marsaglia/Tsang algorithm.
2009-06-08 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.tcc (gamma_distribution<>::operator() (_UniformRandomNumberGenerator&, const param_type&): Redo, using the Marsaglia/Tsang algorithm. (gamma_distribution<>::param_type::_M_initialize): Adjust. (operator<<(basic_ostream<>&, gamma_distribution<>), operator>>(basic_ostream<>&, gamma_distribution<>): Likewise. * include/bits/random.tcc(student_t_distribution<>::_M_gaussian): Remove, just use normal_distribution. (operator<<(basic_ostream<>&, student_t_distribution<>), operator>>(basic_ostream<>&, student_t_distribution<>): Adjust. (linear_congruential_engine<>::operator()()): Move inline. (lognormal_distribution<>::operator()(_UniformRandomNumberGenerator&, const param_type&)): Move inline, just use normal_distribution. (operator<<(basic_ostream<>&, lognormal_distribution<>), operator>>(basic_ostream<>&, lognormal_distribution<>): Adjust. (weibull_distribution<>::operator()(_UniformRandomNumberGenerator&, const param_type&)): Move here, out of line. (piecewise_constant_distribution<>::param_type::param_type()): Move inline. * include/bits/random.h: Adjust, minor tweaks. From-SVN: r148276
Diffstat (limited to 'gcc/params.h')
0 files changed, 0 insertions, 0 deletions