Package com.nr.interp

Examples of com.nr.interp.Spline2D_interp


    // Test Spline2D_interp
    System.out.println("Testing Spline2D_interp");
    for(i=0;i<4;i++)
      for(j=0;j<4;j++)
        y[i][j]=xx1[i]+xx2[j];
    Spline2D_interp z = new Spline2D_interp(x1,x2,y);
    localflag = abs(z.interp(2.5,2.5)-5.0) > sbeps;
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** Spline2D_interp: .");
    }

View Full Code Here

TOP

Related Classes of com.nr.interp.Spline2D_interp

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.