Luna::new_random_number_generator

Ref< IRandom > new_random_number_generator(u32 initial_seed)

Creates one new random number generator.

Parameters

  • in initial_seed

    The initial seed for the generator.

Return value

Returns the created random number generator.