Generate a random value in respect with a given distribution.
[R] = NL_F_RandDistribution(V,N)
Vector of values.
Vector of their occurence probability.
Random value.
NL_F_RandDistribution generates the random value R in respect with the given distribution , combined with the corresponding range of values
. The probability to generate the value
is
.