mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-06 14:24: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
|
@ -92,8 +92,8 @@ namespace sprout {
|
|||
}
|
||||
};
|
||||
private:
|
||||
result_type min_;
|
||||
result_type max_;
|
||||
IntType min_;
|
||||
IntType max_;
|
||||
private:
|
||||
template<typename Engine, typename RangeType, typename BaseUnsigned>
|
||||
SPROUT_CONSTEXPR sprout::random::random_result<Engine, uniform_smallint> generate_true_2(
|
||||
|
@ -244,8 +244,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