Lines Matching refs:gammavariate
698 def gammavariate(self, alpha, beta): member in Random
785 y = self.gammavariate(alpha, 1.0)
787 return y / (y + self.gammavariate(beta, 1.0))
872 gammavariate = _inst.gammavariate variable
908 _test_generator(N, gammavariate, (0.01, 1.0))
909 _test_generator(N, gammavariate, (0.1, 1.0))
910 _test_generator(N, gammavariate, (0.1, 2.0))
911 _test_generator(N, gammavariate, (0.5, 1.0))
912 _test_generator(N, gammavariate, (0.9, 1.0))
913 _test_generator(N, gammavariate, (1.0, 1.0))
914 _test_generator(N, gammavariate, (2.0, 1.0))
915 _test_generator(N, gammavariate, (20.0, 1.0))
916 _test_generator(N, gammavariate, (200.0, 1.0))