Public Member Functions | Static Public Member Functions | Private Attributes
ApproxMVBB::RandomGenerators::XorShift1024Star Class Reference

#include <RandomGenerators.hpp>

List of all members.

Public Member Functions

void jump ()
uint64_t operator() ()
void seed (uint64_t seed)
 XorShift1024Star (const XorShift1024Star &gen)
 XorShift1024Star (XorShift1024Star &&gen)
 XorShift1024Star (uint64_t seed)
 XorShift1024Star ()

Static Public Member Functions

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

Private Attributes

int p = 0
uint64_t s [16]

Detailed Description

Definition at line 96 of file RandomGenerators.hpp.


Constructor & Destructor Documentation

Definition at line 250 of file RandomGenerators.hpp.

Take time() to seed this generator

Definition at line 255 of file RandomGenerators.hpp.


Member Function Documentation

This is the jump function for the generator. It is equivalent to 2^512 calls to next(); it can be used to generate 2^512 non-overlapping subsequences for parallel computations.

Definition at line 280 of file RandomGenerators.hpp.

static constexpr result_type ApproxMVBB::RandomGenerators::XorShift1024Star::max ( ) [inline, static]

Definition at line 123 of file RandomGenerators.hpp.

static constexpr result_type ApproxMVBB::RandomGenerators::XorShift1024Star::min ( ) [inline, static]

Definition at line 122 of file RandomGenerators.hpp.

uint64_t ApproxMVBB::RandomGenerators::XorShift1024Star::operator() ( ) [inline]

Generate random number

Definition at line 267 of file RandomGenerators.hpp.

void ApproxMVBB::RandomGenerators::XorShift1024Star::seed ( uint64_t  seed) [inline]

Definition at line 259 of file RandomGenerators.hpp.


Member Data Documentation

Definition at line 100 of file RandomGenerators.hpp.

Definition at line 99 of file RandomGenerators.hpp.


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


asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Sat Jun 8 2019 20:21:51