public double lnB(){
  double lnB=-0.5 * nu * logDetOmega - 0.5 * nu * D* Math.log(2) - 0.25 * D * (D - 1)* Math.log(Math.PI);
  for (int i=1; i <= D; i++) {
    lnB-=Gamma.logGamma(0.5 * (nu + 1 - i));
  }
  return lnB;
}

public double lnB ( ) { double lnB = - 0.5 * nu * logDetOmega - 0.5 * nu * D * Math . log ( 2 ) - 0.25 * D * ( D - 1 ) * Math . log ( Math . PI ) ; for ( int i = 1 ; i <= D ; i ++ ) { lnB -= Gamma . logGamma ( 0.5 * ( nu + 1 - i ) ) ; } return lnB ; }
b is the normalizing factor of the wishart distribution ,
