From: Antonio Jimenez Pastor Date: Wed, 26 Sep 2018 13:55:28 +0000 (+0200) Subject: Added generic example for contiguous equation for HypergeometricFunction X-Git-Url: http://git.risc.jku.at/gitweb/?a=commitdiff_plain;h=968b7de708399f319d6e9f7242516656e867e19c;p=ajpastor%2Fdiff_defined_functions.git Added generic example for contiguous equation for HypergeometricFunction --- diff --git a/ajpastor/tests/dd_functions/hypergeometric.py b/ajpastor/tests/dd_functions/hypergeometric.py index 840138f..17fc7c3 100644 --- a/ajpastor/tests/dd_functions/hypergeometric.py +++ b/ajpastor/tests/dd_functions/hypergeometric.py @@ -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): diff --git a/releases/diff_defined_functions__0.6.zip b/releases/diff_defined_functions__0.6.zip index af41401..cd41160 100644 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 index 0000000..cd41160 Binary files /dev/null and b/releases/old/diff_defined_functions__0.6__18.09.26_15:55:28.zip differ