- class QRandomGenerator64¶
The
QRandomGenerator64
class allows one to obtain 64-bit random values from a high-quality, seed-less Random Number Generator. More…Synopsis¶
Methods¶
def
__init__()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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
- __init__(other)¶
- Parameters:
other –
QRandomGenerator
- __init__([seedValue=1])
- Parameters:
seedValue – int
- __init__(begin, end)
- Parameters:
begin –
quint32
end –
quint32
- __init__(seedBuffer, len)
- Parameters:
seedBuffer –
quint32
len – int