Added generic example for contiguous equation for HypergeometricFunction
authorAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 26 Sep 2018 13:55:28 +0000 (15:55 +0200)
committerAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 26 Sep 2018 13:55:28 +0000 (15:55 +0200)
ajpastor/tests/dd_functions/hypergeometric.py
releases/diff_defined_functions__0.6.zip
releases/old/diff_defined_functions__0.6__18.09.26_15:55:28.zip [new file with mode: 0644]

index 840138f..17fc7c3 100644 (file)
@@ -102,6 +102,12 @@ def run():
 
         sverbose("Identity for 2F1 (Usual Hypergeometric function)");
         sverbose.increase_depth();
+        sverbose("Test for derivative of hypergeometric function and its contiguous functions");
+        f = HypergeometricFunction(); P = f.parent(); a = P.parameter('a'); b = P.parameter('b'); c = P.parameter('c');
+        g = a*b/c * HypergeometricFunction(a+1,b+1,c+1);
+        if(not f.derivative() == g):
+            raise ValueError("Error with the equality of 2F1(a,b;c;z)");
+        sverbose
         sverbose.start_iteration((__MAX_N-__MIN_N)**_sage_const_4 , True, True);
         for a in range(__MIN_N, __MAX_N):
             for b in range(__MIN_N, __MAX_N):
index af41401..cd41160 100644 (file)
Binary files a/releases/diff_defined_functions__0.6.zip and b/releases/diff_defined_functions__0.6.zip differ
diff --git a/releases/old/diff_defined_functions__0.6__18.09.26_15:55:28.zip b/releases/old/diff_defined_functions__0.6__18.09.26_15:55:28.zip
new file mode 100644 (file)
index 0000000..cd41160
Binary files /dev/null and b/releases/old/diff_defined_functions__0.6__18.09.26_15:55:28.zip differ