22 void Seed(
const int seed);
79 "low must be <= high, but got low={} and high={}.", low,
86 std::lock_guard<std::mutex> lock(*
GetMutex());
111 template <
typename T>
128 std::lock_guard<std::mutex> lock(*
GetMutex());
153 template <
typename T>
169 std::lock_guard<std::mutex> lock(*
GetMutex());
196 template <
typename T>
205 template <
typename InputIt>
215 std::lock_guard<std::mutex> lock(*
GetMutex());
T operator()()
Call this to generate a discretely distributed integer value.
DiscreteGenerator(InputIt first, InputIt last)
std::discrete_distribution< T > distribution_
T operator()()
Call this to generate a normally distributed floating point value.
std::normal_distribution< T > distribution_
NormalGenerator(const T mean=0.0, const T stddev=1.0)
std::mt19937 * GetEngine()
void Seed(const int seed)
Set CloudViewer global random seed.
Generic file read and write utility for python interface.
double stddev(std::vector< double > const &func)