I am self teaching C++ and, simultaneously, using Unix commands. I have reached a chapter in the notes I am following where a program written in C++ is using a Monte Carlo method to estimate pi. It mentions a 'seed', but does not say what this is. I have tried finding out what a seed is online, but I only seem to get results about 'why you should/shouldn't use a fixed seed', and unfortunately they have left me none the wiser as to what a seed actually is. Any help would be much appreciated.
Monte Carlo: what is a seed?
Meep
- 123
- 1
- 4