Developer Guide and Reference

Contents

svrng_new_normal_distribution_[float|double]/svrng_update_normal_distribution_[float|double]

Allocates and initializes constants for the normal distribution with specified parameters

Syntax

svrng_distribution_t svrng_new_normal_distribution_float( float
mean
, float
stddev
)
svrng_distribution_t svrng_new_normal_distribution_double( double
mean
, double
stddev
)
svrng_distribution_t svrng_update_normal_distribution_float( svrng_distribution_t
distr
, float
mean
, float
stddev
)
svrng_distribution_t svrng_update_normal_distribution_double( svrng_distribution_t
distr
, double
mean
, double
stddev
)
Input Parameters
mean
Mean value of the normal distribution.
stddev
Standard deviation of the normal distribution
distr
Pointer to the distribution to be updated
</