File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,7 @@ of the module is directly related to the name of the related class.
172172** PyRandLib** . It inherits from the Python built-in class random.Random. It
173173aims at providing simple common behavior for all PRG classes of the library,
174174the most noticeable one being the 'callable' nature of every implemented
175- PRGs. For instance:
176-
177- rand = UBaseRandom()
178- print( rand() ) # prints a uniform pseudo-random value within [0.0, 1.0)
179- print( rand(a) ) # prints a uniform pseudo-random value within [0.0, a)
180- print( rand(a,b) ) # prints a uniform pseudo-random value within [a, b)
175+ PRGs.
181176
182177Inheriting from the Python built-in class random.Random, ** BaseRandom**
183178provides access to many useful distribution functions as described in
@@ -193,6 +188,8 @@ Furthermore, every inheriting class may override methods:
193188
194189This lets inheriting classes implement the PRGs related core methods.
195190
191+ Notice: starting at PyRandLib 1.2.0 a new signature is available with this
192+ base class. See previous section 'New in release 1.2' for full explanations.
196193
197194
198195### FastRand32 - 2^32 periodicity
You can’t perform that action at this time.
0 commit comments