Skip to content

Function random_init

function random_init() base

Initializes the random number generator state using the CPU cycle counter.

Returns
A new random_state initialized with cycle counter entropy.

Fully qualified name: kfr::random_init()

Function random_init

function random_init(u32, u32, u32, u32) base

Initializes the random number generator with four 32-bit seed values.

This overload allows precise seeding of the internal 128-bit state using four 32-bit unsigned integers.

Parameters
x0 First 32-bit seed value.
x1 Second 32-bit seed value.
x2 Third 32-bit seed value.
x3 Fourth 32-bit seed value.
Returns
A new random_state initialized with the provided seeds.

Fully qualified name: kfr::random_init(u32, u32, u32, u32)

Function random_init

function random_init(u64, u64) base

Initializes the random number generator with two 64-bit seed values.

This overload combines two 64-bit unsigned integers into four 32-bit lanes for initializing the internal 128-bit state.

Parameters
x0 First 64-bit seed value.
x1 Second 64-bit seed value.
Returns
A new random_state initialized with the provided seeds.

Fully qualified name: kfr::random_init(u64, u64)

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