Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
rng_global.hpp
Go to the documentation of this file.
1#ifndef MONTECARLO_RNG_GLOBAL_HPP
2#define MONTECARLO_RNG_GLOBAL_HPP
3
4#include <cstdint>
5
6namespace mc {
7namespace rng {
8
9
20bool set_global_seed(std::uint32_t s);
21
28std::uint32_t get_global_seed();
29
35
36} //namespace rng
37} // namespace mc
38
39#endif // MONTECARLO_RNG_GLOBAL_HPP
bool is_global_seed_initialized()
Check whether the global seed has been explicitly initialized.
bool set_global_seed(std::uint32_t s)
Set the global seed used by all library RNG components.
std::uint32_t get_global_seed()
Get the current global seed.