Hi, Thanks. I was kind of hoping for something less drastic, but that works. In Maple there is just a variable you can set which controls things, so you can do it on a per script basis.
Thanks. Tim. --- Tim Lahey PhD Candidate, Systems Design Engineering University of Waterloo http://www.linkedin.com/in/timlahey On Dec 2, 2008, at 11:12 PM, Jason Grout wrote:
I imagine that you could just change the _repr_ function in the symbolicconstant: sage: I._repr_?? Type: instancemethod Base Class: <type 'instancemethod'> String Form: <bound method I_class._repr_ of I> Namespace: Interactive File:/home/grout/sage/local/lib/python2.5/site-packages/sage/functions/ constants.pyDefinition: I._repr_(self, simplify=True) Source: def _repr_(self, simplify=True): """ EXAMPLES: sage: repr(I) 'I' """ return "I" Change that function to return "_j" if you want. sage: def complex_repr(simplify=True): ....: return "_j" ....: sage: I._repr_ = complex_repr sage: I _j sage: i^3 -1*_j Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature