double randvar_uniform_int

(int seed, int K)

Generates a Uniform( 0, K-1 ) distributed random integer.

Documentation

Generates a Uniform( 0, K-1 ) distributed random integer.
Parameters:
seed - : 1: initialize only the Uniform( 0, 1 ) generator, 0: return a uniform distributed integer
K - : right limit for uniform distribution
Returns:
random integer

Alphabetic index



This page was generated with the help of DOC++.