b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
slipper (ohh) 于 (Thu Oct 13 20:16:21 2005) 提到:
anybody know if VC++ has a function , which take a random number as input (the
random number is between 0 and 1), and it use inverse method to output a
value, which follow normal distri.? or dose VC has normal distribution random
number generator? Thanks.
☆─────────────────────────────────────☆
fightwater (QT) 于 (Fri Oct 14 12:53:06 2005) 提到:
using box-muller algorithm
http://en.wikipedia.org/wiki/Bo |
|