1 | initial version |
sage: set_random_seed(10)
sage: initial_seed()
10L
sage: random()
0.96172216248923448
sage: random()
0.4035526020095398
sage: set_random_seed(10)
sage: initial_seed()
10L
sage: random()
0.96172216248923448
sage: random()
0.4035526020095398
And please read the very useful tutorial in help(sage.misc.randstate) for everything you could ever want to know!
2 | No.2 Revision |
sage: set_random_seed(10)
sage: initial_seed()
10L
sage: random()
0.96172216248923448
sage: random()
0.4035526020095398
sage: set_random_seed(10)
sage: initial_seed()
10L
sage: random()
0.96172216248923448
sage: random()
0.4035526020095398
And please read the very useful tutorial in help(sage.misc.randstate) help(sage.misc.randstate) for everything you could ever want to know!know!