Package com.nr.fe

Examples of com.nr.fe.Eulsum


   

    // Test Eulsum
    System.out.println("Testing Eulsum");
    for (i=0;i<N;i++) {
      Eulsum sum = new Eulsum(M,eps);
      x=0.1*(i+1);
      term=1.0;
      while (!sum.cnvgd) {
        val=sum.next(term);
        term *= (-x);
      }
      y[i]=val;
      yy[i]=1.0/(1.0+x);
    }
View Full Code Here

TOP

Related Classes of com.nr.fe.Eulsum

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.