def sample(self, rgen):
x = rgen.poisson(self.lambdaParameter)<EOL>return x, self.logDensity(x)<EOL>
Generates a random sample from the Poisson probability distribution and
        returns its value and the log of the probability of sampling that value.