vSMC
v3.0.0
Scalable Monte Carlo
|
Generating ordered uniform random sequence. More...
Classes | |
class | vsmc::U01SequenceSorted |
Sorted of standard uniform numbers. More... | |
class | vsmc::U01SequenceStratified |
Stratified standard uniform numbers. More... | |
class | vsmc::U01SequenceSystematic |
Systematic standard uniform numbers. More... | |
Functions | |
template<typename RealType , typename RNGType > | |
void | vsmc::u01_rand_sorted (RNGType &rng, std::size_t N, RealType *r) |
Generate sorted standard uniform numbers with \(O(N)\) cost. More... | |
template<typename RealType , typename RNGType > | |
void | vsmc::u01_rand_stratified (RNGType &rng, std::size_t N, RealType *r) |
Generate stratified standard uniform numbers. More... | |
template<typename RealType , typename RNGType > | |
void | vsmc::u01_rand_systematic (RNGType &rng, std::size_t N, RealType *r) |
Generate systematic standard uniform numbers. More... | |
template<typename RealType > | |
void | vsmc::u01_trans_sorted (std::size_t N, const RealType *u01, RealType *r) |
Tranform a sequence of standard uniform random numbers to sorted sequence. More... | |
template<typename RealType > | |
void | vsmc::u01_trans_stratified (std::size_t N, const RealType *u01, RealType *r) |
Transform a sequence of standard uniform random numbers to a stratified sequence. More... | |
template<typename RealType > | |
void | vsmc::u01_trans_systematic (std::size_t N, const RealType *u01, RealType *r) |
Transform a single standard uniform random number to a systematic sequence. More... | |
Generating ordered uniform random sequence.
|
inline |
Generate sorted standard uniform numbers with \(O(N)\) cost.
Definition at line 196 of file u01_sequence.hpp.
|
inline |
Generate stratified standard uniform numbers.
Definition at line 223 of file u01_sequence.hpp.
|
inline |
Generate systematic standard uniform numbers.
Definition at line 241 of file u01_sequence.hpp.
|
inline |
Tranform a sequence of standard uniform random numbers to sorted sequence.
Definition at line 121 of file u01_sequence.hpp.
|
inline |
Transform a sequence of standard uniform random numbers to a stratified sequence.
Definition at line 150 of file u01_sequence.hpp.
|
inline |
Transform a single standard uniform random number to a systematic sequence.
Definition at line 173 of file u01_sequence.hpp.