Fixed a typo in ddExamples.py
authorAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 19 Sep 2018 08:00:20 +0000 (10:00 +0200)
committerAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 19 Sep 2018 08:00:20 +0000 (10:00 +0200)
ajpastor/dd_functions/ddExamples.py
releases/diff_defined_functions__0.5.zip
releases/old/diff_defined_functions__0.5__18.09.19_10:00:20.zip [new file with mode: 0644]

index 6028b1a..69079ee 100644 (file)
@@ -170,7 +170,7 @@ def Tan(input, ddR = None):
     if(is_DDFunction(input)):
         return Tan(x)(input);
     if(input == x):
-        return DDFinite_example('tan');
+        return DDFinite.element([-_sage_const_2,0,Cos(x)**2],[0,1]);
     g, dR = __decide_parent(input, ddR,_sage_const_2 );
     
     
@@ -830,7 +830,7 @@ def MathieuD(a='a',q='q',init=()):
     ra = new_all[0]; rq = new_all[1]; rinit = new_all[2:];
     
     if(parent != QQ):
-        destiny_ring = ParametrizedDDRing(DFinite, [str(v) for v in parent.gens()]);
+        destiny_ring = ParametrizedDDRing(DDFinite, [str(v) for v in parent.gens()]);
     else:
         destiny_ring = DDFinite;
     x = destiny_ring.variables()[0];
@@ -1322,7 +1322,7 @@ def HeunD(a='a',b='b',d='d',g='g',e='e',q='q'):
         WARNING:
             - This method does not compute initial values for the solution of this differential equation as no power series solution is guaranteed due to the singularity at 0.
     '''
-    parent, new_all = __check_list([a,b,d,,e,q], [str(el) for el in DFinite.variables()]);
+    parent, new_all = __check_list([a,b,d,g,e,q], [str(el) for el in DFinite.variables()]);
     ra,rb,rd,rg,re,rq = new_all;
         
     al = rg+rd+re-rb-1;
index aee1251..914736f 100644 (file)
Binary files a/releases/diff_defined_functions__0.5.zip and b/releases/diff_defined_functions__0.5.zip differ
diff --git a/releases/old/diff_defined_functions__0.5__18.09.19_10:00:20.zip b/releases/old/diff_defined_functions__0.5__18.09.19_10:00:20.zip
new file mode 100644 (file)
index 0000000..914736f
Binary files /dev/null and b/releases/old/diff_defined_functions__0.5__18.09.19_10:00:20.zip differ