Lines Matching refs:gammavariate
492 def gammavariate(self, alpha, beta): member in Random
627 y = self.gammavariate(alpha, 1.)
631 return y / (y + self.gammavariate(beta, 1.))
868 _test_generator(N, gammavariate, (0.01, 1.0))
869 _test_generator(N, gammavariate, (0.1, 1.0))
870 _test_generator(N, gammavariate, (0.1, 2.0))
871 _test_generator(N, gammavariate, (0.5, 1.0))
872 _test_generator(N, gammavariate, (0.9, 1.0))
873 _test_generator(N, gammavariate, (1.0, 1.0))
874 _test_generator(N, gammavariate, (2.0, 1.0))
875 _test_generator(N, gammavariate, (20.0, 1.0))
876 _test_generator(N, gammavariate, (200.0, 1.0))
901 gammavariate = _inst.gammavariate variable