[C++] 均勻亂數轉常態亂數 (Uniform to Normal)
C語言所產生的隨機亂數為均勻(Uniform)亂數,假如我們想要產生常態(Normal)亂數怎麼辦呢?我們先來看WiKi的Normal Distribution。
The red line is the standard normal distribution
C語言所產生的隨機亂數為均勻(Uniform)亂數,假如我們想要產生常態(Normal)亂數怎麼辦呢?我們先來看WiKi的Normal Distribution。
The red line is the standard normal distribution
HappyMan・迴響