On 06/25/2010 06:07:02 AM, kcrisman wrote:
Dear Mike,
Just to follow up:
There is further discussion at
http://trac.sagemath.org/sage_trac/ticket/9329
if you are interested in saying exactly what sort of data structure
would enable you to perform the simplifications you would like to
without having to create a custom Maxima simplification routine.
- kcrisman
Well ... I can see how one might work one's way
through the expression, using the operator() and operands()
functions. And, I suppose, I can see how one could then build
up the equivalent expression, having modified one of the
operands in a certain way. So, I don't suppose that there is
actually any need for a custom data structure to do this.
I guess it's really just a question of whether the way
these expressions sometimes display in latex bothers me
enough to do something about it, other than just complain.
Although ... I guess I'm still a bit confused as to why
this happens, even given the form of the exponential.
sage: f = e^(2*I*pi*n*x - 2*I*pi*n)
sage: latex(f)
e^{\left(\left(2 I\right) \, \pi n x + \left(-2 I\right) \, \pi
n\right)}
Still, I shouldn't really get +(-2i) right? I think you
mentioned something about Pynac (another program I know
nothing about). It seems like trying to fix this just
involves learning too much of a learning curve for me
to contemplate.
-Mike
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org