Previous: Topology-function descriptions, Up: Language-visible functions [Contents][Index]

- Function:
*ncptl_int***ncptl_func_random_uniform***(ncptl_int*`lower_bound`, ncptl_int`upper_bound`) - Function:
*double***ncptl_dfunc_random_uniform***(double*`lower_bound`, double`upper_bound`) -
Return a number in the interval [

`lower_bound`,`upper_bound`) selected at random with a uniform distribution.

- Function:
*ncptl_int***ncptl_func_random_gaussian***(ncptl_int*`mean`, ncptl_int`stddev`) - Function:
*double***ncptl_dfunc_random_gaussian***(double*`mean`, double`stddev`) -
Return a number selected at random from a Gaussian distribution with mean

`mean`and standard deviation`stddev`.

- Function:
*ncptl_int***ncptl_func_random_poisson***(ncptl_int*`mean`) - Function:
*double***ncptl_dfunc_random_poisson***(double*`mean`) -
Return an integer selected at random from a Poisson distribution with mean

`mean`and standard deviation*sqrt(*.`mean`)

- Function:
*ncptl_int***ncptl_func_random_pareto***(ncptl_int*`shape`, ncptl_int`lower_bound`, ncptl_int`upper_bound`) - Function:
*double***ncptl_dfunc_random_pareto***(double*`shape`, double`lower_bound`, double`upper_bound`) -
If

`lower_bound`*=*`upper_bound`, return a value selected at random from a Pareto distribution with shape`shape`and scale`lower_bound`. If`lower_bound`*<>*`upper_bound`, return a value selected at random from a bounded Pareto distribution with shape`shape`and bounded by the range [`lower_bound`,`upper_bound`].