You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-s...@googlegroups.com
On 2017-04-11 18:25, Pedro Cruz wrote:
> Hello,
>
> sage is printing b*I + a and we want to see a + b * I
Do you have a complete example?
Pedro Cruz
unread,
Apr 12, 2017, 9:59:00 AM4/12/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
We are producing study materials where it's usual to use "a + b I".
The following occurs in Sage 7.6:
sage: 1+2*I 2*I + 1
and the question is: how to rewrite the complex numbers way of printing. I've seen it's <Expression> type and maybe changing _repr_ but I have never tried.
We have done the function below but I was wonder if a more standard way of printing them exists.