warp.randi#

warp.randi(state: uint32) int#
  • Kernel

  • Python

Return a random integer in the range [-2^31, 2^31).

warp.randi(state: uint32, low: int32, high: int32) int
  • Kernel

  • Python

Return a random integer between [low, high).