throw new NullPointerException ("stream is null");
this.stream = stream;
dimension = alphas.length;
ggens = new GammaAcceptanceRejectionGen[alphas.length];
for (int k = 0; k < alphas.length; k++)
ggens[k] = new GammaAcceptanceRejectionGen
(stream, new GammaDist (alphas[k], 1.0/2.0));
}