微軟VS 2008 release TR1(Technical Report 1) feature pack
提供亂數產生器的各種分布(基本上統計的各種分布都有了)
- bernoulli_distribution: Generates a Bernoulli distribution
- binomial_distribution: Generates a binomial distribution
- exponential_distribution: Generates a exponential distribution
- gamma_distribution: Generates a gamma distribution
- geometric_distribution: Generates a geometric distribution
- normal_distribution: Generates a normal distribution
- poisson_distribution: Generates a Poisson distribution
- uniform_int: Generates a normal distribution of integer numbers
- uniform_real: Generates a normal distribution of real numbers.
如果已安裝SP1就不用另外安裝 feature pack,另外微軟在SP1後有發佈一個hotfix
試完有空再補使用心得
相關使用教學:
Random number generation using C++ TR1
A TR1 Tutorial: Generating Random Numbers
Visual C++2008 C++ TR1 随机数编程笔记
沒有留言:
張貼留言