<tt>xoshiro
Loading...
Searching...
No Matches
xso::plus< w0, w1 >

The plus functor can be passed a state array and will return the sum of two state words. More...

#include <xoshiro.h>

Detailed Description

template<std::size_t w0, std::size_t w1>
struct xso::plus< w0, w1 >

The plus functor can be passed a state array and will return the sum of two state words.

Template Parameters
w0The index of the first word in the state array to use.
w1The index of the second word in the state array to use.

This scrambler can be passed a state array and will return state[w0] + state[w1].