|
CDT++ 1.0.0
Causal Dynamical Triangulations in C++
|
Run-owned random-number generation and reproducible stream splitting. More...
#include <concepts>#include <cstdint>#include <istream>#include <limits>#include <locale>#include <ostream>#include <random>#include <sstream>#include <stdexcept>#include <string>#include <string_view>#include "pcg_uint128.hpp"#include "pcg_random.hpp"Go to the source code of this file.
Classes | |
| class | cdt::Random |
| A run-owned PCG engine with a recorded seed and stream identifier. More... | |
| class | cdt::RandomSeed |
| Root entropy value used to reproduce a random run. More... | |
| class | cdt::RandomStream |
| PCG sequence selector derived from a root random seed. More... | |
Namespaces | |
| namespace | cdt |
| clang-15 does not support std::format | |
Functions | |
| constexpr auto | cdt::format_as (RandomSeed const seed) noexcept -> std::uint64_t |
| constexpr auto | cdt::format_as (RandomStream const stream) noexcept -> std::uint64_t |
| auto | cdt::operator<< (std::ostream &output, RandomSeed const seed) -> std::ostream & |
| auto | cdt::operator<< (std::ostream &output, RandomStream const stream) -> std::ostream & |
Variables | |
| constexpr RandomStream | cdt::random_streams::initialization {0} |
| Stream reserved for initial triangulation generation. | |
| constexpr RandomStream | cdt::random_streams::transitions {1} |
| Stream reserved for stochastic state transitions. | |
Run-owned random-number generation and reproducible stream splitting.
Definition in file Random.hpp.
|
inlineconstexpr |
Stream reserved for initial triangulation generation.
Definition at line 120 of file Random.hpp.
|
inlineconstexpr |
Stream reserved for stochastic state transitions.
Definition at line 122 of file Random.hpp.