Examples of mnewt()


Examples of com.nr.root.MNEWT.mnewt()

      MNEWT mnewt =new MNEWT(){
        public void funk(double[] x, double[] fvec, double[][] fjac) {
          usrfun(x, fvec, fjac);
        }
      };
      mnewt.mnewt(NTRIAL,x,tolx,tolf);
      usrfun(x,fvec,fjac);
      dy[i]=maxel(fvec);
    }
    System.out.printf("mnewt: Maximum discrepancy = %f\n", maxel(dy));
    localflag = maxel(dy) > sbeps;
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.