slib_lang_exists_tmp=yes

slib_title=Generation of random numbers with a discrete law

slib_out=Random data of <span class="tt">m</span> numbers following the law [p_1,p_2,..p_j]\
on the values [v_1,v_2,..v_j] (p_i are positive reals of sum 1)

slib_comment= P(X=v_i)=p_i
