Jpp
19.0.0
the software that should make you happy
|
Auxiliary data structure for randomisation of indices. More...
#include <JRandomTimeslice.hh>
Public Member Functions | |
random_indices_t (const size_t N) | |
Constructor. More... | |
void | random_shuffle (const std::set< size_t > &keep) |
Randomly shuffle values between fixed indices. More... | |
Private Member Functions | |
void | random_shuffle (const int i1, const int i2) |
Randomly shuffle values between given indices. More... | |
Auxiliary data structure for randomisation of indices.
Definition at line 166 of file JRandomTimeslice.hh.
|
inline |
Constructor.
N | number of indices |
Definition at line 174 of file JRandomTimeslice.hh.
|
inline |
Randomly shuffle values between fixed indices.
keep | fixed indices |
Definition at line 183 of file JRandomTimeslice.hh.
|
inlineprivate |
Randomly shuffle values between given indices.
i1 | first index (included) |
i2 | last index (excluded) |
Definition at line 208 of file JRandomTimeslice.hh.