OSDN Git Service

unstable-commit
authorteoxx <teoxx@0e905424-1750-4201-adbd-bf076348bc1c>
Wed, 10 Dec 2008 08:59:57 +0000 (08:59 +0000)
committerteoxx <teoxx@0e905424-1750-4201-adbd-bf076348bc1c>
Wed, 10 Dec 2008 08:59:57 +0000 (08:59 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/applied-gslp@172 0e905424-1750-4201-adbd-bf076348bc1c

trunk/noumerov/noumerov.plt
trunk/test/gsl_test
trunk/test/gsl_test.c
trunk/test/gsl_test.o

index 05ca9dc..ba89700 100644 (file)
@@ -26,6 +26,7 @@ plot  "tmp/gsl_test.stdout"   using 1:2,\
        "tmp/gsl_test.stdout"   using 1:(j0($1)),\
        "tmp/gsl_test.stdout"   using 1:(sin($1)/$1)
 pause -1
+exit;
 #b = sqrt(2*m*E)/hbar;
 #A               = 2.73547e+31      +/- 9.502e+27    (0.03474%)
 #delta           = 0.138346         +/- 0.0004599    (0.3324%)
index 886576b..77fd06d 100755 (executable)
Binary files a/trunk/test/gsl_test and b/trunk/test/gsl_test differ
index 4e9e334..d4cb85e 100644 (file)
@@ -27,13 +27,13 @@ void test(void);
 void test()
 {
        int i = 0;
-       int l = 0;
+       int l = 1;
        double x = 0.0;
        for(i=0;i<1000;i++){
                x += 0.1;
                printf("% e\t", x);
                printf("% e\t", gsl_sf_bessel_jl(l, x));
-               printf("% e\t", sin(x)/x);
+               printf("% e\t", (sin(x)-cos(x))/x);
                printf("% e\t", gsl_sf_bessel_yl(l, x));
                printf("% d\n", i);
        }
index 8b17b0f..cc74939 100644 (file)
Binary files a/trunk/test/gsl_test.o and b/trunk/test/gsl_test.o differ