RandLib 2.0.0
Probability distributions, fitting, and heavy-tail tools for C++20
Loading...
Searching...
No Matches
randlib::legacy::JLKiss64Engine Class Reference

The JLKiss64Engine class
David Jones' JLKISS64 generator with 64-bit output. More...

#include <legacy.hpp>

Public Types

using result_type = std::uint64_t
 

Public Member Functions

 JLKiss64Engine (std::uint64_t value=0) noexcept
 
void seed (std::uint64_t value) noexcept
 
result_type operator() () noexcept
 

Static Public Member Functions

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

Friends

bool operator== (const JLKiss64Engine &, const JLKiss64Engine &)=default
 

Detailed Description

The JLKiss64Engine class
David Jones' JLKISS64 generator with 64-bit output.

Member Typedef Documentation

◆ result_type

Constructor & Destructor Documentation

◆ JLKiss64Engine()

randlib::legacy::JLKiss64Engine::JLKiss64Engine ( std::uint64_t  value = 0)
inlineexplicitnoexcept

Member Function Documentation

◆ max()

static constexpr result_type randlib::legacy::JLKiss64Engine::max ( )
inlinestaticconstexprnoexcept

◆ min()

static constexpr result_type randlib::legacy::JLKiss64Engine::min ( )
inlinestaticconstexprnoexcept

◆ operator()()

result_type randlib::legacy::JLKiss64Engine::operator() ( )
inlinenoexcept

◆ seed()

void randlib::legacy::JLKiss64Engine::seed ( std::uint64_t  value)
inlinenoexcept

xorshift state must not be zero

carries in [1, a - 2]

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const JLKiss64Engine &  ,
const JLKiss64Engine &   
)
friend

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