MCKL
Monte Carlo Kernel Library
List of all members
mckl::Seed< RNGType > Class Template Reference

RNG default seed generator. More...

#include <mckl/random/seed.hpp>

Inherits mckl::SeedGenerator< SeedType< RNGType > >.

Additional Inherited Members

- Public Types inherited from mckl::SeedGenerator< SeedType< RNGType > >
using result_type = SeedType< RNGType >
 
using seed_type = std::conditional_t< sizeof(SeedType< RNGType >) % sizeof(std::uint64_t)==0, std::uint64_t, std::uint32_t >
 The type of the internal seed. More...
 
- Public Member Functions inherited from mckl::SeedGenerator< SeedType< RNGType > >
 SeedGenerator (const SeedGenerator< SeedType< RNGType >, std::integral_constant< std::size_t, sizeof(SeedType< RNGType >)>, true, true > &)=delete
 
result_type get ()
 Get the next key. More...
 
seed_type np () const
 The number of partitions. More...
 
SeedGenerator< SeedType< RNGType >, std::integral_constant< std::size_t, sizeof(SeedType< RNGType >)>, true, true > & operator= (const SeedGenerator< SeedType< RNGType >, std::integral_constant< std::size_t, sizeof(SeedType< RNGType >)>, true, true > &)=delete
 
void partition (seed_type np, seed_type rank)
 Set the number of partitions and the rank of this partition. More...
 
seed_type rank () const
 The rank of this partition. More...
 
void set (seed_type s)
 Set the internal seed. More...
 
- Static Public Member Functions inherited from mckl::SeedGenerator< SeedType< RNGType > >
static SeedGenerator< SeedType< RNGType >, std::integral_constant< std::size_t, sizeof(SeedType< RNGType >)>, true, true > & instance ()
 

Detailed Description

template<typename RNGType>
class mckl::Seed< RNGType >

RNG default seed generator.

Definition at line 339 of file seed.hpp.