Developer Guide and Reference

Contents

svrng_new_uniform_distribution_[int|float|double]/svrng_update_uniform_distribution_[int|float|double]

Allocates and initializes constants for the uniform distribution with specified parameters

Syntax

svrng_distribution_t svrng_new_uniform_distribution_int( int
a
, int
b
)
svrng_distribution_t svrng_new_uniform_distribution_float( float
a
, float
b
)
svrng_distribution_t svrng_new_uniform_distribution_double( double
a
, double
b
)
svrng_distribution_t svrng_update_uniform_distribution_int( svrng_distribution_t
distr
, int
a
, int
b
)
svrng_distribution_t svrng_update_uniform_distribution_float( svrng_distribution_t
distr
, float
a
, float
b
)
svrng_distribution_t svrng_update_uniform_distribution_double( svrng_distribution_t
distr
, double
a
, double
b
)