SciPy

numpy.random.bit_generator.BitGenerator.cffi

attribute

BitGenerator.cffi

CFFI interface

Returns:
interface : namedtuple

Named tuple containing CFFI 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