NanoMagMC  v0.2
Monte Carlo Simulation Software for Atomistic Models of Magnetic Materials
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
rng::rng128 Struct Reference

#include <xoroshiro128.hpp>

Public Types

using result_type = std::uint64_t
 

Public Member Functions

 rng128 (std::uint64_t seed[2])
 
 rng128 (std::uint64_t s0, std::uint64_t s1)
 
 rng128 (std::uint64_t seed=1)
 
result_type operator() ()
 
void jump ()
 

Static Public Member Functions

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

Public Attributes

std::uint64_t state [2]
 

Member Typedef Documentation

using rng::rng128::result_type = std::uint64_t

Constructor & Destructor Documentation

rng::rng128::rng128 ( std::uint64_t  seed[2])
inline
rng::rng128::rng128 ( std::uint64_t  s0,
std::uint64_t  s1 
)
inline
rng::rng128::rng128 ( std::uint64_t  seed = 1)
inline

Member Function Documentation

void rng::rng128::jump ( )
inline
static constexpr result_type rng::rng128::max ( )
inlinestatic
static constexpr result_type rng::rng128::min ( )
inlinestatic
result_type rng::rng128::operator() ( )
inline

Member Data Documentation

std::uint64_t rng::rng128::state[2]

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