ln(n!)
78798081828384858687
public double op(final int k)/* @Read-only */ { if (mu==0.0) if (k==0) return 1.0; else return 0.0; final Factorial fact = new Factorial(); final double logFactorial = fact.ln(k); return Math.exp(k*Math.log(mu) - logFactorial - mu); } }
4546474849505152535455
return n; } public static double getlNFactorial(int n){ Factorial f = new Factorial(); return f.ln(n); } public static long getPrimeNumberAt(int n){ PrimeNumbers pn = new PrimeNumbers(); return pn.get(n);