Examples of j0()


Examples of com.nr.sf.Bessjy.j0()

  }
 
  class Bessj0_qtrap implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_qtrap implements UniVarRealValueFun{
    public double funk(double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

      nnu=(double)(i);

      for (j=0;j<N;j++) {
        xx=0.2*(j+1);
        if (i == 0) {
          zz1[j]=bjy.j0(xx);
          zz2[j]=bess.jnu(nnu,xx);
        } else if (i == 1) {
          zz1[j]=bjy.j1(xx);
          zz2[j]=bess.jnu(nnu,xx);
        } else {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

    // Test Bessjy (j0)
    System.out.println("Testing Bessjy (j0)");
    Bessjy bess = new Bessjy();
    sbeps=1.e-15;
    for (i=0;i<N;i++) zz1[i]=bess.j0(x[i]);
    System.out.printf("Bessjy: Maximum discrepancy = %f\n", maxel(vecsub(zz1,yy1)));
    localflag = maxel(vecsub(zz1,yy1)) > sbeps;
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** Bessjy (j0): Incorrect function values");
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

    else System.out.println("Passed\n");
  }
  class Bessj0_gaulag implements UniVarRealValueFun{
    public double funk(double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_gaulag implements UniVarRealValueFun{
    public double funk (double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

    else System.out.println("Passed\n");
  }
  class Bessj0_gauleg implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b=new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_gauleg implements UniVarRealValueFun{
    public double funk (double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

  }

  class Bessj0_Adapt implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_Adapt implements UniVarRealValueFun{
    public double funk (double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

  }
 
  class Bessj0_qromb implements UniVarRealValueFun{
    public double funk(double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_qromb  implements UniVarRealValueFun{
    public double funk (double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

  }
 
  class Bessj0_gaujac implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_gaujac implements UniVarRealValueFun{
    public double funk (double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

  }

  class Bessj0_qsimp implements UniVarRealValueFun {
    public double funk(double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_qsimp implements UniVarRealValueFun{
    public double funk (double x) {
View Full Code Here

Examples of com.nr.sf.Bessjy.j0()

  }
 
  class Bessj0_trapzd implements UniVarRealValueFun {
    public double funk(double x) {
      Bessjy b = new Bessjy();
      return(b.j0(x));
    }
  };

  class Bessj1_trapzd implements UniVarRealValueFun{
    public double funk (double x) {
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.