Examples of rawinterp()


Examples of com.nr.interp.Poly_interp.rawinterp()

    Poly_interp polint = new Poly_interp(h,s,K);
    h[0]=1.0;
    for (int j=1;j<=JMAX;j++) {
      s[j-1]=q.next();
      if (j >= K) {
        double ss=polint.rawinterp(j-K,0.0);
        if (abs(polint.dy) <= eps*abs(ss)) return ss;
      }
      h[j]=h[j-1]/9.0;
    }
    throw new IllegalArgumentException("Too many steps in routine qromo");
View Full Code Here

Examples of com.nr.interp.Poly_interp.rawinterp()

    h[0]=1.0;
    Trapzd t = new Trapzd(func,a,b);
    for (int j=1;j<=JMAX;j++) {
      s[j-1]=t.next();
      if (j >= K) {
        double ss=polint.rawinterp(j-K,0.0);
        if (abs(polint.dy) <= eps*abs(ss)) return ss;
      }
      h[j]=0.25*h[j-1];
    }
    throw new IllegalArgumentException("Too many steps in routine qromb");
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.