Package com.nr.ran

Examples of com.nr.ran.Ranhash.int32p()


     
    }

    // Check statistics
    for (i=0;i<M;i++) bins[i]=0.0;
    for (i=0;i<N;i++) bins[myran1.int32p(i+10000)%M] += 1.0;
    chsone(bins,ebins,dfW,chisqW,probW);df = dfW.val; chisq = chisqW.val; prob = probW.val;
    System.out.printf("     chisq,int32(): %f  prob: %f\n",chisq, prob);

    localflag = (prob < 0.05);
    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.