public double pdf(int k){
  return Math.exp(k * Math.log(this.mean) - Arithmetic.logFactorial(k) - this.mean);
}

public double pdf ( int k ) { return Math . exp ( k * Math . log ( this . mean ) - Arithmetic . logFactorial ( k ) - this . mean ) ; }
returns the probability distribution function .
