Seed - probability distribution functions
Hello experts!
In a new user of sage.
This is a triple-question for you:
1) Reading the 'Craig Finch Sage Beginners Guide' page 236 I find the next script (about accessing probability distribution functions):
variance = 0.75
gaussian = RealDistribution('gaussian', variance)
gaussian.set_seed(0.0)
random_values = [gaussian.get_random_element() for i in range(1000)]
gaussian_plot = gaussian.plot((-5, 5))
The 1st question is ¿Whats for gaussian.set_seed(0.0)? ¿What does (0.0) seed value minds?
2) ¿What must i write in a script for obtain a normal (gaussian) distribution center in 'C' with variance 'V'?
3) Again, in 'Craig Finch Sage Beginners Guide' page 305 i find:
rng = RealDistribution('uniform', [0,dimension], seed=1)
¿Whats for seed=1 value? ¿What does 1 seed value minds?
Waiting for your answers.
Thaks a lot!!