QRandomGenerator64¶
The
QRandomGenerator64
class allows one to obtain 64-bit random values from a high-quality, seed-less Random Number Generator. More…
New in version 5.10.
Detailed Description¶
QRandomGenerator64
is a simple adaptor class aroundQRandomGenerator
, making thegenerate64()
function the default foroperator()
(), instead of the function that returns 32-bit quantities. This class is intended to be used in conjunction with Standard Library algorithms that need 64-bit quantities instead of 32-bit ones.In all other aspects, the class is the same. Please refer to
QRandomGenerator
‘s documentation for more information.See also
- class PySide2.QtCore.QRandomGenerator64(other)¶
PySide2.QtCore.QRandomGenerator64(begin, end)
PySide2.QtCore.QRandomGenerator64(seedBuffer, len)
PySide2.QtCore.QRandomGenerator64([seedValue=1])
- Parameters:
begin – int
seedValue – int
other –
PySide2.QtCore.QRandomGenerator
len –
long long
seedBuffer – int
end – int
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.