(self)
return self._new(self.cols, self.rows, a)
Matrix transposition.

        Examples
        ========

        >>> from sympy import Matrix, I
        >>> m=Matrix(((1, 2+I), (3, 4)))
        >>> m
        Matrix([
        [1, 2 + I],
        [3,     4]])
        >>> m.transpose()
        Matrix([
        [    1, 3],
        [2 + I, 4]])
        >>> m.T == m.transpose()
        True

        See Also
        ========

        conjugate: By-element conjugation
Matrix transposition.
Matrix transposition .
def _eval_transpose(self):
        """Matrix transposition.

        Examples
        ========

        >>> from sympy import Matrix, I
        >>> m=Matrix(((1, 2+I), (3, 4)))
        >>> m
        Matrix([
        [1, 2 + I],
        [3,     4]])
        >>> m.transpose()
        Matrix([
        [    1, 3],
        [2 + I, 4]])
        >>> m.T == m.transpose()
        True

        See Also
        ========

        conjugate: By-element conjugation
        """
        a = []
        for i in range(self.cols):
            a.extend(self._mat[i::self.cols])
        return self._new(self.cols, self.rows, a)
def _eval_transpose ( self ) : a = [ ] for i in range ( self . cols ) : a . extend ( self . _mat [ i : : self . cols ] ) return self . _new ( self . cols , self . rows , a )