random/normal_distribution.hpp 追加

numeric/iota.hpp 追加
algorithm/shuffle.hpp 追加
This commit is contained in:
bolero-MURAKAMI 2011-10-19 22:47:59 +09:00
parent 8ebe6ea878
commit 44b67d28e2
19 changed files with 570 additions and 18 deletions

View file

@ -254,8 +254,8 @@ namespace sprout {
}
};
private:
result_type min_;
result_type max_;
RealType min_;
RealType max_;
private:
template<typename Engine, typename Result>
SPROUT_CONSTEXPR sprout::random::random_result<Engine, uniform_real_distribution> generate(Result const& rnd) const {
@ -308,8 +308,9 @@ namespace sprout {
)
{
param_type parm;
lhs >> parm;
rhs.param(parm);
if (lhs >> parm) {
rhs.param(parm);
}
return lhs;
}
template<typename Elem, typename Traits>