Skip to content

Commit 9982416

Browse files
committed
Improve crosslink between matrix methods documentation
1 parent 7d83063 commit 9982416

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

src/sage/matrix/matrix2.pyx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15690,6 +15690,10 @@ cdef class Matrix(Matrix1):
1569015690
Return the conjugate of self, i.e. the matrix whose entries are the
1569115691
conjugates of the entries of ``self``.
1569215692

15693+
.. SEEALSO::
15694+
15695+
:attr:`C`
15696+
1569315697
EXAMPLES::
1569415698

1569515699
sage: # needs sage.rings.complex_double sage.symbolic
@@ -15745,6 +15749,10 @@ cdef class Matrix(Matrix1):
1574515749
though there is substantial variation and some confusion with
1574615750
the use of that term.
1574715751

15752+
.. SEEALSO::
15753+
15754+
:meth:`conjugate`, :meth:`~.Matrix_dense.transpose`, :attr:`H`
15755+
1574815756
OUTPUT:
1574915757

1575015758
A matrix formed by taking the complex conjugate of every entry
@@ -18562,6 +18570,10 @@ cdef class Matrix(Matrix1):
1856218570
r"""
1856318571
Return the conjugate-transpose (Hermitian) matrix.
1856418572

18573+
.. SEEALSO::
18574+
18575+
:meth:`conjugate_transpose`
18576+
1856518577
EXAMPLES::
1856618578

1856718579
sage: A = matrix(QQbar, [[ -3, 5 - 3*I, 7 - 4*I], # needs sage.rings.number_field
@@ -18572,7 +18584,7 @@ cdef class Matrix(Matrix1):
1857218584
[ 5 + 3*I -1 - 6*I -3 - 6*I]
1857318585
[ 7 + 4*I 3 - 5*I 5 - 1*I]
1857418586
"""
18575-
return self.conjugate().transpose()
18587+
return self.conjugate_transpose()
1857618588

1857718589

1857818590
def _smith_diag(d, transformation=True):

src/sage/matrix/matrix_dense.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ cdef class Matrix_dense(matrix.Matrix):
114114
[1 2]
115115
[3 4]
116116
117-
``.T`` is a convenient shortcut for the transpose::
117+
:attr:`~sage.matrix.matrix2.Matrix.T` is a convenient shortcut for the transpose::
118118
119119
sage: A.T
120120
[1 3]

src/sage/matrix/matrix_double_dense.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ cdef class Matrix_double_dense(Matrix_numpy_dense):
18811881
18821882
OUTPUT:
18831883
1884-
``U, S, V`` -- immutable matrices such that ``A = U*S*V.conj().transpose()``
1884+
``U, S, V`` -- immutable matrices such that ``A = U*S*V.conjugate_transpose()``
18851885
where `U` and `V` are orthogonal and `S` is zero off of the diagonal
18861886
18871887
Note that if ``self`` is m-by-n, then the dimensions of the

0 commit comments

Comments
 (0)