class HurwitzMatrixAlgebraElement(MatrixAlgebraElement):
+ def conjugate(self):
+ r"""
+ Return the entrywise conjugate of this matrix.
+
+ SETUP::
+
+ sage: from mjo.hurwitz import ComplexMatrixAlgebra
+
+ EXAMPLES::
+
+ sage: A = ComplexMatrixAlgebra(2, QQbar, ZZ)
+ sage: M = A([ [ I, 1 + 2*I],
+ ....: [ 3*I, 4*I] ])
+ sage: M.conjugate()
+ +------+----------+
+ | -I | -2*I + 1 |
+ +------+----------+
+ | -3*I | -4*I |
+ +------+----------+
+
+ """
+ entries = [ [ self[i,j].conjugate()
+ for j in range(self.ncols())]
+ for i in range(self.nrows()) ]
+ return self.parent()._element_constructor_(entries)
+
def conjugate_transpose(self):
r"""
Return the conjugate-transpose of this matrix.