Package com.nr.sf

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


  };

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

}
View Full Code Here


        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 {
          zz1[j]=bjy.jn(i,xx);
          zz2[j]=bess.jnu(nnu,xx);
        }
View Full Code Here

    }

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

  };

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

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

  };

  class Bessj1_gauleg implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b =new Bessjy();
      return(b.j1(x));
    }
  };
}
View Full Code Here

  };

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

}
View Full Code Here

  };

  class Bessj1_qromb  implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j1(x));
    }
  };
}
View Full Code Here

  };

  class Bessj1_gaujac implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j1(x));
    }
  }
}
View Full Code Here

  };

  class Bessj1_qsimp implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j1(x));
    }
  };
}
View Full Code Here

  };

  class Bessj1_trapzd implements UniVarRealValueFun{
    public double funk (double x) {
      Bessjy b = new Bessjy();
      return(b.j1(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.