Examples of knu()


Examples of com.nr.sf.Bessel.knu()

      for (j=0;j<N;j++) {
        xx=0.2*(j+1);
        if (i == 0) {
          zz1[j]=bik.k0(xx);
          zz2[j]=bess.knu(nnu,xx);
        } else if (i == 1) {
          zz1[j]=bik.k1(xx);
          zz2[j]=bess.knu(nnu,xx);
        } else {
          zz1[j]=bik.kn(i,xx);
View Full Code Here

Examples of com.nr.sf.Bessel.knu()

        if (i == 0) {
          zz1[j]=bik.k0(xx);
          zz2[j]=bess.knu(nnu,xx);
        } else if (i == 1) {
          zz1[j]=bik.k1(xx);
          zz2[j]=bess.knu(nnu,xx);
        } else {
          zz1[j]=bik.kn(i,xx);
          zz2[j]=bess.knu(nnu,xx);
        }
      }
View Full Code Here

Examples of com.nr.sf.Bessel.knu()

        } else if (i == 1) {
          zz1[j]=bik.k1(xx);
          zz2[j]=bess.knu(nnu,xx);
        } else {
          zz1[j]=bik.kn(i,xx);
          zz2[j]=bess.knu(nnu,xx);
        }
      }
      localflag = maxel(vecsub(zz1,zz2)) > sbeps;
      globalflag = globalflag || localflag;
      if (localflag) {
View Full Code Here

Examples of com.nr.sf.Bessel.knu()

      fail("*** Bessel (besselik),inu: Incorrect function values, non-integer order");
     
    }

    System.out.println("Testing Bessel (besselik),knu");
    for (i=0;i<N;i++) zz[i]=bess.knu(nu[i],x[i]);
    System.out.printf("Bessel (besselik),knu: Maximum discrepancy = %f\n", maxel(vecsub(zz,uu4)));
    localflag = maxel(vecsub(zz,uu4)) > sbeps;
    globalflag = globalflag || localflag;
    if (localflag) {
      fail("*** Bessel (besselik),knu: Incorrect function values, non-integer order");
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.