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.
172
172
** PyRandLib** . It inherits from the Python built-in class random.Random. It
173
173
aims at providing simple common behavior for all PRG classes of the library,
174
174
the 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.
181
176
182
177
Inheriting from the Python built-in class random.Random, ** BaseRandom**
183
178
provides access to many useful distribution functions as described in
@@ -193,6 +188,8 @@ Furthermore, every inheriting class may override methods:
193
188
194
189
This lets inheriting classes implement the PRGs related core methods.
195
190
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.
196
193
197
194
198
195
### FastRand32 - 2^32 periodicity
You can’t perform that action at this time.
0 commit comments