Examples of el()


Examples of com.nr.sort.Indexx.el()

    for (j=0; j<npts; j++) mo[j] = j;
    n = -1;
    for (i=0; i<nspan; i++) {
       for (;;) {
        jj = j = idx.el(sega,++n);
        kk = k = idx.el(segb,n)
        while (mo[jj] != jj) jj = mo[jj];
        while (mo[kk] != kk) kk = mo[kk];
        if (jj != kk) {
          minsega[i] = j;
          minsegb[i] = k;
View Full Code Here

Examples of com.nr.sort.Indexx.el()

     
    }

    // Test member function el()
    for (i=0;i<N;i++) z[i] = 1.0-x[i];
    for (i=0;i<N;i++) zz[i] = idx.el(z,i);
    localflag = localflag || (maxel(vecsub(vecsub(u,zz),xx)) > sbeps);
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** Indexx: Member function el() does not sort inverted array into reverse order");
     
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.