ns_rng module
-
class ns_rng.NsRng[source]
-
float_uniform(low, high, size=None)[source]
-
int_uniform(low, high)[source]
-
normal(std_dev, size=None)[source]
-
seed_common()[source]
-
seed_init(delta_seed=-1, comm=None)[source]
-
seed_local()[source]
-
shuffle_in_place(list)[source]
-
class ns_rng.NsRngInternal(delta_seed=-1, comm=None)[source]
-
float_uniform(low, high, size=None)[source]
-
int_uniform(low, high)[source]
-
normal(std_dev, size=None)[source]
-
shuffle_in_place(list)[source]
-
switch_to_common()[source]
-
switch_to_local()[source]
-
class ns_rng.NsRngNumpy(delta_seed=-1, comm=None)[source]
-
float_uniform(low, high, size=None)[source]
-
int_uniform(low, high)[source]
-
normal(std_dev, size=None)[source]
-
shuffle_in_place(list)[source]
-
switch_to_common()[source]
-
switch_to_local()[source]
-
class ns_rng.NsRngStream(delta_seed=-1, comm=None)[source]
-
float_uniform(low, high, size=None)[source]
-
int_uniform(low, high)[source]
-
normal(std_dev, size=None)[source]
-
normal_variate(std_dev)[source]
-
set_package_seed(delta_seed)[source]
-
shuffle_in_place(list)[source]
-
switch_to_common()[source]
-
switch_to_local()[source]
-
ns_rng.os_random_uint32(n, max)[source]