mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
random/normal_distribution.hpp 追加
numeric/iota.hpp 追加 algorithm/shuffle.hpp 追加
This commit is contained in:
parent
8ebe6ea878
commit
44b67d28e2
19 changed files with 570 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue