#14831: Doc typo in .is_similar() method
-----------------------------+----------------------------------------------
Reporter: tmonteil | Owner: mvngu
Type: defect | Status: new
Priority: minor | Milestone: sage-5.12
Component: documentation | Keywords: beginner
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
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 `::`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14831>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.