numpy.random.MT19937.ctypes

attribute

MT19937.ctypes

ctypes interface

Returns
interfacenamedtuple

Named tuple containing ctypes wrapper

  • state_address - Memory address of the state struct
  • state - pointer to the state struct
  • next_uint64 - function pointer to produce 64 bit integers
  • next_uint32 - function pointer to produce 32 bit integers
  • next_double - function pointer to produce doubles
  • bitgen - pointer to the bit generator struct

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/random/bit_generators/generated/numpy.random.MT19937.ctypes.html