Examples of calcanswers()


Examples of com.nr.ran.MCintegrate.calcanswers()

      public double[] xmap(final double[] x){
        return null;
      }
    };
    mymc.step(1000000);
    mymc.calcanswers();
//    for (i=0;i<4;i++)
//      System.out.printf(mymc.ff[i] << "  %f\n", mymc.fferr[i]);

    localflag = abs(mymc.ff[0]-SQR(PI)*R1*SQR(R2)) > 2.0*mymc.fferr[0];
    globalflag = globalflag || localflag;
View Full Code Here

Examples of com.nr.ran.MCintegrate.calcanswers()

      public double[] xmap(final double[] x){
        return torusmap2(x);
      }
    };
    mymc2.step(1000000);
    mymc2.calcanswers();
//    for (i=0;i<4;i++)
//      System.out.printf(mymc2.ff[i] << "  %f\n", mymc2.fferr[i]);

    localflag = abs(mymc2.ff[0]-SQR(PI)*R1*SQR(SQR(R2))/4.0) > 2.0*mymc2.fferr[0];
    globalflag = globalflag || localflag;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.