CDT++ 1.0.0-rc1
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
Random.hpp File Reference

Run-owned random-number generation and reproducible stream splitting. More...

#include <concepts>
#include <cstdint>
#include <limits>
#include <random>
#include "pcg_random.hpp"
Include dependency graph for Random.hpp:
This graph shows which files directly or indirectly include this file:

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...

Typedefs

using cdt::Random_seed = std::uint64_t
using cdt::Random_stream = std::uint64_t

Variables

Random_stream constexpr cdt::random_streams::initialization {0}
Random_stream constexpr cdt::random_streams::transitions {1}

Detailed Description

Run-owned random-number generation and reproducible stream splitting.

Definition in file Random.hpp.

Typedef Documentation

◆ Random_seed

using cdt::Random_seed = std::uint64_t

Definition at line 22 of file Random.hpp.

◆ Random_stream

using cdt::Random_stream = std::uint64_t

Definition at line 23 of file Random.hpp.

Variable Documentation

◆ initialization

Random_stream constexpr cdt::random_streams::initialization {0}
inlineconstexpr

Definition at line 27 of file Random.hpp.

◆ transitions

Random_stream constexpr cdt::random_streams::transitions {1}
inlineconstexpr

Definition at line 28 of file Random.hpp.