Package com.nr.min

Examples of com.nr.min.Dbrent


    // Test Dbrent
    System.out.println("Testing Dbrent");

    Funcd_Dbrent funcd = new Funcd_Dbrent();
    Dbrent dbr = new Dbrent();
    for (i=0;i<N;i++) {
      a=i;
      b=a+span;
      dbr.bracket(a,b,funcd);
      min=dbr.minimize(funcd);    // Minimum of bessj0
      localflag = localflag || (abs(funcd.df(min)) > sbeps);
    }

    globalflag = globalflag || localflag;
    if (localflag) {
View Full Code Here

TOP

Related Classes of com.nr.min.Dbrent

Copyright © 2018 www.massapicom. 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.