Skip to content

Commit caed579

Browse files
conjugate-transpose on right
1 parent df83220 commit caed579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/matrix/matrix2.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -12978,14 +12978,14 @@ cdef class Matrix(Matrix1):
1297812978

1297912979
sage: A = matrix(GF(11**2),[[1,4,7],[4,1,4],[7,4,1]])
1298012980
sage: B = A.hermitian_decomposition()
12981-
sage: A == B.H*B
12981+
sage: A == B*B.H
1298212982
True
1298312983

1298412984
Verify we can decompose a Hermatrix matrix for which there is no triangular decomposition::
1298512985

1298612986
sage: A = matrix(GF(3**2),[[0, 1, 2], [1, 0, 1], [2, 1, 0]])
1298712987
sage: B = A.hermitian_decomposition()
12988-
sage: A == B.H*B
12988+
sage: A == B*B.H
1298912989
True
1299012990

1299112991
"""

0 commit comments

Comments
 (0)