6162636465666768697071
Gaumixmod gmix = new Gaumixmod(x,guess); for (i=0;i<100;i++) { flag=gmix.estep(); if (flag < 1.e-6) break; gmix.mstep(); } // check for convergence // System.out.println(" flag: %f\n", flag); localflag = flag > 1.e-6;