panthrMath/basicFunc/gratio.js
function delta(a) {
         return lgamma(a) - (a - 0.5) * Math.log(a) + a - 0.5 * Math.log(2 * Math.PI);
      }
function delta(a) {
         return lgamma(a) - (a - 0.5) * Math.log(a) + a - 0.5 * Math.log(2 * Math.PI);
      }
function delta ( a ) { return lgamma ( a ) - ( a - 0.5 ) * Math . log ( a ) + a - 0.5 * Math . log ( 2 * Math . PI ) ; }
From equation 3
From equation 3