int genProbDiscr(double *probint nVal);