The QRandomGenerator64 class allows one to obtain 64-bit random values from a high-quality, seed-less Random Number Generator. More

Inheritance diagram of PySide6.QtCore.QRandomGenerator64


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 around QRandomGenerator , making the generate64() function the default for operator() (), 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 PySide6.QtCore.QRandomGenerator64(other)#

PySide6.QtCore.QRandomGenerator64(begin, end)

PySide6.QtCore.QRandomGenerator64(seedBuffer, len)