Opened 10 years ago
Closed 9 years ago
#14831 closed defect (fixed)
Doc typo in .is_similar() method
Reported by: | tmonteil | Owned by: | mvngu |
---|---|---|---|
Priority: | minor | Milestone: | sage-5.12 |
Component: | documentation | Keywords: | beginner |
Cc: | Merged in: | sage-5.12.beta1 | |
Authors: | Frédéric Chapoton | Reviewers: | Thierry Monteil |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
In the doc of the method .is_similar()
(located in in sage/sage/matrix/matrix2.pyx
), we get this unreadable block:
sage: A = matrix(QQ, [[ 19, -7, -29], ... [-16, 11, 30], ... [ 15, -7, -25]]) sage: B = matrix(QQ, [[-38, -63, 42], ... [ 14, 25, -14], ... [-14, -21, 18]]) sage: A.charpoly() == B.charpoly() True sage: A.jordan_form() [-3| 0 0] [--+-----] [ 0| 4 1] [ 0| 0 4] sage: B.jordan_form() [-3| 0| 0] [--+--+--] [ 0| 4| 0] [--+--+--] [ 0| 0| 4] sage: A.is_similar(B) False
This is due to a missing ::
.
Attachments (1)
Change History (4)
Changed 10 years ago by
Attachment: | trac_14831.patch added |
---|
comment:1 Changed 10 years ago by
Authors: | → Frédéric Chapoton |
---|---|
Status: | new → needs_review |
comment:2 Changed 10 years ago by
Reviewers: | → Thierry Monteil |
---|---|
Status: | needs_review → positive_review |
Looks good to me, though i am not sure you should consider yourself as a beginner ;)
comment:3 Changed 9 years ago by
Merged in: | → sage-5.12.beta1 |
---|---|
Resolution: | → fixed |
Status: | positive_review → closed |
Note: See
TracTickets for help on using
tickets.
here is a patch, please review