Ticket #5174 (closed enhancement: fixed)
_repr_ for large matrices should indicate how to see the entries
|Reported by:||jason||Owned by:||was|
|Report Upstream:||N/A||Reviewers:||Mike Hansen|
|Authors:||John Palmieri||Merged in:||sage-4.3.1.alpha0|
[09:30] <jason-> on the other hand, I always get frustrated trying to see a 30x30 matrix in Sage [09:30] <wstein> print a.str() [09:30] <jason-> yeah, I never remember it. [09:30] <wstein> That will show you any matrix in sage of any size. [09:31] <wstein> Well then the output of a._repr_() should mention it so you can remember it. make a ticket. [09:31] <jason-> good point. [09:31] <jason-> I think I usually end up doing a.rows() [09:32] <jason-> or list(a) [09:32] <jason-> so you're saying print a should do: [09:32] <jason-> 30 x 30 dense matrix over Integer Ring (to see the entries, do print a.str()) [09:33] <wstein> Yep. [09:33] <jason-> 30 x 30 dense matrix over Integer Ring (to see the entries, type "print a.str()") [09:33] <wstein> Of course it's possibly confusing since "a.str()" is really "yourvar.str()" [09:33] <wstein> but hopefully people can understand that.
- Status changed from new to needs_review
- Authors set to John Palmieri
- Status changed from needs_review to positive_review
- Reviewers set to Mike Hansen
Note: See TracTickets for help on using tickets.