Open 6d95573c-b4ed-47d1-8c51-cb633c034739 opened 9 years ago
Well, these are all methods of Expression
that call Maxima. The translation of the result from Maxima back to Sage obviously discards the old function data.
Description changed:
---
+++
@@ -1,16 +1,13 @@
-See: https://cloud.sagemath.com/projects/b04b5777-e269-4c8f-a4b8-b21dbe1c93c6/files/print_latex_func.sagews
---
-
+```
def argscript(self, *args): return "%s_{%s}"%(self.name(),','.join(map(repr, args)))
f=function('f', print_latex_func=argscript)
x,y=var('x,y')
show(f(x,y))
-g=function('g', latex_name="
-mathcal{G}")
+g=function('g', latex_name="\\mathcal{G}")
show(g(x,y))
-\# fail
+# fail
show(f(x,y).canonicalize_radical())
show(g(x,y).canonicalize_radical())
show(f(x,y).combine())
@@ -56,7 +53,7 @@
show(f(x,y).trig_simplify())
show(g(x,y).trig_simplify())
-\# works
+# works
show(f(x,y).collect(x))
show(g(x,y).collect(x))
show(f(x,y).collect_common_factors())
@@ -72,4 +69,7 @@
show(g(x,y).simplify_hypergeometric())
show(f(x,y).simplify_rectform())
show(g(x,y).simplify_rectform())
+```
+* See: https://cloud.sagemath.com/projects/b04b5777-e269-4c8f-a4b8-b21dbe1c93c6/files/print_latex_func.sagews
+* https://groups.google.com/forum/?hl=en#!topic/sage-devel/owdIv8nxZSU
CC: @egourgoulhon
Component: symbolics
Keywords: expression manipulation, latex output, function
Issue created by migration from https://trac.sagemath.org/ticket/19151