class xf::fintech::XoShiRo128PlusPlus

#include "xoshiro128.hpp"

Overview

XoShiRo128PlusPlus is a 32-bit all-purpose, rock-solid generator.


Methods

XoShiRo128PlusPlus

XoShiRo128PlusPlus ()

default constructor

init

void init (unsigned int* seedIn)

init initialize seeds

Parameters:

seedIn input seeds

jump

void jump (void)

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

long_jump

void long_jump (void)

the long-jump function is equivalent to 2^96 calls to next() ; it can be used to generate 2^32 starting points, from each of which jump() will generate 2^32 non-overlapping subsequences for parallel distributed computations.