DoxigAlpha

init

Function parameters

Parameters

#
init_s:u64

Functions in this namespace

Functions

#

Source

Implementation

#
pub fn init(init_s: u64) Pcg {
    var pcg = Pcg{
        .s = undefined,
        .i = undefined,
    };

    pcg.seed(init_s);
    return pcg;
}