Lines Matching refs:gammavariate
655 def gammavariate(self, alpha, beta): member in Random
742 y = self.gammavariate(alpha, 1.0)
744 return y / (y + self.gammavariate(beta, 1.0))
829 gammavariate = _inst.gammavariate variable
865 _test_generator(N, gammavariate, (0.01, 1.0))
866 _test_generator(N, gammavariate, (0.1, 1.0))
867 _test_generator(N, gammavariate, (0.1, 2.0))
868 _test_generator(N, gammavariate, (0.5, 1.0))
869 _test_generator(N, gammavariate, (0.9, 1.0))
870 _test_generator(N, gammavariate, (1.0, 1.0))
871 _test_generator(N, gammavariate, (2.0, 1.0))
872 _test_generator(N, gammavariate, (20.0, 1.0))
873 _test_generator(N, gammavariate, (200.0, 1.0))