Skip to content

Function random_next

function random_next(random_state &) base

Advances the internal state of the pseudo-random number generator.

This function uses a SIMD-optimized linear congruential method with distinct multiplier and adder constants for each 32-bit lane. The resulting values are further randomized using a byte-wise rotate operation.

Parameters
state Reference to the internal random number generator state to update.

Fully qualified name: kfr::random_next(random_state &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.