randy icon indicating copy to clipboard operation
randy copied to clipboard

allow for seeded objects

Open Directory opened this issue 5 years ago • 0 comments

in python theres a Random class that has all methods the root module has but allows for seeds to be passed through to create a predictable/reproducable output.

>>> r = random.Random('my seed here')
>>> r.random()
0.14528170090970272
>>> r.random()
0.45944132579974306
>>> r.random()
0.5696838703271271

From what i skimmed i do not believe this to be supported. correct me if im wrong.

Directory avatar Jan 09 '21 01:01 Directory