other.linear_congruential_generator =================================== .. py:module:: other.linear_congruential_generator Attributes ---------- .. autoapisummary:: other.linear_congruential_generator.__author__ other.linear_congruential_generator.lcg Classes ------- .. autoapisummary:: other.linear_congruential_generator.LinearCongruentialGenerator Module Contents --------------- .. py:class:: LinearCongruentialGenerator(multiplier, increment, modulo, seed=int(time())) A pseudorandom number generator. .. py:method:: next_number() The smallest number that can be generated is zero. The largest number that can be generated is modulo-1. modulo is set in the constructor. .. py:attribute:: increment .. py:attribute:: modulo .. py:attribute:: multiplier .. py:attribute:: seed .. py:data:: __author__ :value: 'Tobias Carryer' .. py:data:: lcg