(* Testing results of Segev - Heller paper *) (* Distribution of energies *) Clear["@"]; (********** INPUT starts **********) tabdata={ (* x0, y0, omx, omy *) {0,0,0.02,0.18}, (* Fig. 1 *) {0,0,10.,2.2}, (* Fig. 2 *) {0,0,0.45,0.01}, (* Fig. 3 *) {0,0,2.,18.}, (* Fig. 4 *) {3,0,2.,0.1}, (* Fig. 5 *) {3,0,2.,10.}, (* Fig. 6 *) {0.4,0.2,0.7,1.5}, (* square pattern *) {0.1519,0.2649,0.04689,0.05555}, (* err=38644, the worst *) {0.9740,0.9398,0.5707,0.5647} (* err=30, the best *) }; nntab={2,6,12,20,30,40,50}; (* Subr. for minimizing W.-function and printing *) < {None, {"n", "\!\(\(p\_x\%*\)\)", "\!\(\(p\_y\%*\)\)", "\!\(\(x\^*\)\)", "\!\(\(y\^*\)\)", "-log(\!\(\(\[Rho]\^*\)\))", "\!\(R\_x\)", "\!\(\(R\_x\%*\)\)"}}, TableAlignments -> Center, TableSpacing -> {1, 1}]]; ,{ntabdata,mtabdata}];