Examples of mprove()


Examples of com.nr.la.LUdcmp.mprove()

      y[j]=cof[n+j+1];
      for (k=0;k<n;k++) q[j][k]=cof[j-k+n];
    }
    LUdcmp lu = new LUdcmp(q);
    lu.solve(y,x);
    for (j=0;j<4;j++) lu.mprove(y,x);
    for (k=0;k<n;k++) {
      for (sum=cof[k+1],j=0;j<=k;j++) sum -= x[j]*cof[k-j];
      y[k]=sum;
    }
    num[0] = cof[0];
View Full Code Here

Examples of com.nr.la.LUdcmp.mprove()

    if (localflag) {
      fail("*** mprove: Noisy vector too close to solution");
     
    }

    alu.mprove(r,y);
    sbeps = 5.e-15;
    localflag = maxel(vecsub(r,matmul(a,y))) > sbeps;
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** mprove: Attempt to recover accurate solution failed");
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.