On Sep 30, 10:24 pm, Jim Clark <[EMAIL PROTECTED]> wrote:
> Thank you Jason! I have looked through the documentation for vector
> analysis examples, without success. I was not aware of the gradient()
> function.
>
> HOWEVER, the bug that I came upon in my initial effort is real.
I don't think the behavior in your screen shot is a bug. The problem
is that when you do the string formatting, feeding in %delW, what gets
passed in is the string representation of delW, not the latex
representation. For example,
sage: repr([x^(3/2)])
'[x^(3/2)]'
You shouldn't expect the default string representation to be latex
syntax. That's why I suggested you wrap delW in latex().
sage: latex([x^(3/2)])
\left[{x}^{\frac{3}{2}} \right]
JM
--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---