cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
pRC::Threefry< Rounds, U > Class Template Reference

#include <threefry.hpp>

Public Types

using result_type = U
 

Public Member Functions

 ~Threefry ()=default
 
constexpr Threefry (Threefry &&)=default
 
constexpr Threefryoperator= (Threefry const &) &=default
 
constexpr Threefryoperator= (Threefry &&) &=default
 
constexpr Threefry (Threefry const &)=default
 
 Threefry ()
 
template<Size S>
 Threefry (SeedSequence< S > const &seq)
 
constexpr void seed ()
 
template<Size S>
constexpr void seed (SeedSequence< S > const &seq)
 
constexpr U operator() ()
 
constexpr void discard (std::uint64_t z)
 
constexpr void advance (std::uint64_t const z)
 
constexpr auto operator== (const Threefry &rhs)
 
constexpr auto operator!= (const Threefry &rhs)
 

Static Public Member Functions

static constexpr auto min ()
 
static constexpr auto max ()
 
static constexpr auto samplesPerBlock ()
 

Member Typedef Documentation

◆ result_type

template<Size Rounds, class U >
using pRC::Threefry< Rounds, U >::result_type = U

Constructor & Destructor Documentation

◆ ~Threefry()

template<Size Rounds, class U >
pRC::Threefry< Rounds, U >::~Threefry ( )
default

◆ Threefry() [1/4]

template<Size Rounds, class U >
constexpr pRC::Threefry< Rounds, U >::Threefry ( Threefry< Rounds, U > && )
constexprdefault

◆ Threefry() [2/4]

template<Size Rounds, class U >
constexpr pRC::Threefry< Rounds, U >::Threefry ( Threefry< Rounds, U > const & )
constexprdefault

◆ Threefry() [3/4]

template<Size Rounds, class U >
pRC::Threefry< Rounds, U >::Threefry ( )
inline

◆ Threefry() [4/4]

template<Size Rounds, class U >
template<Size S>
pRC::Threefry< Rounds, U >::Threefry ( SeedSequence< S > const & seq)
inline

Member Function Documentation

◆ advance()

template<Size Rounds, class U >
constexpr void pRC::Threefry< Rounds, U >::advance ( std::uint64_t const z)
inlineconstexpr

◆ discard()

template<Size Rounds, class U >
constexpr void pRC::Threefry< Rounds, U >::discard ( std::uint64_t z)
inlineconstexpr

◆ max()

template<Size Rounds, class U >
static constexpr auto pRC::Threefry< Rounds, U >::max ( )
inlinestaticconstexpr

◆ min()

template<Size Rounds, class U >
static constexpr auto pRC::Threefry< Rounds, U >::min ( )
inlinestaticconstexpr

◆ operator!=()

template<Size Rounds, class U >
constexpr auto pRC::Threefry< Rounds, U >::operator!= ( const Threefry< Rounds, U > & rhs)
inlineconstexpr

◆ operator()()

template<Size Rounds, class U >
constexpr U pRC::Threefry< Rounds, U >::operator() ( )
inlineconstexpr

◆ operator=() [1/2]

template<Size Rounds, class U >
constexpr Threefry & pRC::Threefry< Rounds, U >::operator= ( Threefry< Rounds, U > && ) &
constexprdefault

◆ operator=() [2/2]

template<Size Rounds, class U >
constexpr Threefry & pRC::Threefry< Rounds, U >::operator= ( Threefry< Rounds, U > const & ) &
constexprdefault

◆ operator==()

template<Size Rounds, class U >
constexpr auto pRC::Threefry< Rounds, U >::operator== ( const Threefry< Rounds, U > & rhs)
inlineconstexpr

◆ samplesPerBlock()

template<Size Rounds, class U >
static constexpr auto pRC::Threefry< Rounds, U >::samplesPerBlock ( )
inlinestaticconstexpr

◆ seed() [1/2]

template<Size Rounds, class U >
constexpr void pRC::Threefry< Rounds, U >::seed ( )
inlineconstexpr

◆ seed() [2/2]

template<Size Rounds, class U >
template<Size S>
constexpr void pRC::Threefry< Rounds, U >::seed ( SeedSequence< S > const & seq)
inlineconstexpr

The documentation for this class was generated from the following file: