I am trying to write a procedure which accepts a math function or any other kind of data to tell to the procedure the zone (in the real rect) in which the random generator must generate results with more or less probabilities.
In other words, i explain:
Random() native PB function is able to generate numbers (scalars) inside a defined section in the real rect. But:
How to generate it inside the the same section but given a curve (math function -for example Gauss function- ) where the generated numbers are most probable there where the curve is higher and less probable there where the curve is lower?
Thanks in advance!


