header_utils
Loading...
Searching...
No Matches
ghassanpl::random::philox64_engine Struct Reference

Another good quality random engine, this time based on the philox64 random function. More...

#include <random_seq.h>

Public Types

using result_type

Public Member Functions

constexpr result_type operator() () noexcept
constexpr philox64_engine (uint64_t index=0, uint32_t key=0) noexcept
constexpr uint64_t index () const noexcept
constexpr uint32_t key () const noexcept
constexpr void reset (uint64_t index, uint32_t key) noexcept

Static Public Member Functions

static constexpr result_type min ()
static constexpr result_type max ()

Detailed Description

Another good quality random engine, this time based on the philox64 random function.

Definition at line 144 of file random_seq.h.

Member Typedef Documentation

◆ result_type

using ghassanpl::random::philox64_engine::result_type

Definition at line 146 of file random_seq.h.

Constructor & Destructor Documentation

◆ philox64_engine()

ghassanpl::random::philox64_engine::philox64_engine ( uint64_t index = 0,
uint32_t key = 0 )
inlineconstexprnoexcept

Definition at line 149 of file random_seq.h.

Member Function Documentation

◆ index()

uint64_t ghassanpl::random::philox64_engine::index ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 154 of file random_seq.h.

◆ key()

uint32_t ghassanpl::random::philox64_engine::key ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 155 of file random_seq.h.

◆ max()

constexpr result_type ghassanpl::random::philox64_engine::max ( )
inlinestaticconstexpr

Definition at line 152 of file random_seq.h.

◆ min()

constexpr result_type ghassanpl::random::philox64_engine::min ( )
inlinestaticconstexpr

Definition at line 151 of file random_seq.h.

◆ operator()()

result_type ghassanpl::random::philox64_engine::operator() ( )
inlinenodiscardconstexprnoexcept

Definition at line 148 of file random_seq.h.

◆ reset()

void ghassanpl::random::philox64_engine::reset ( uint64_t index,
uint32_t key )
inlineconstexprnoexcept

Definition at line 156 of file random_seq.h.