M
mescaline
hi,
i'm new to C++
could anyone refer me to a good site / good examples of random
numbers?
in particular including:
1) the commnds to obtain normally and exponenetially distributed r
numbers
2) how the above types of random numbers are generated from uniform
rvs
i need to generate random numbers, normal and exponenetial, and then
use them in a Monte Carlo simulation to obtain their mean and
variance.
So any Monte Carlo code direction would also be appreciated.
I crudely know how to do this (because i've done it matlab) but I am
aiming to be professional in C++ and would like to do the above
generation in a sophisiticated way.
thanks
m
i'm new to C++
could anyone refer me to a good site / good examples of random
numbers?
in particular including:
1) the commnds to obtain normally and exponenetially distributed r
numbers
2) how the above types of random numbers are generated from uniform
rvs
i need to generate random numbers, normal and exponenetial, and then
use them in a Monte Carlo simulation to obtain their mean and
variance.
So any Monte Carlo code direction would also be appreciated.
I crudely know how to do this (because i've done it matlab) but I am
aiming to be professional in C++ and would like to do the above
generation in a sophisiticated way.
thanks
m