models/py3Dv1/engine/utils/matrix.py
def transpose(self) -> Matrix:
        """Compute the transpose of self. Defined as the matrix formed by swapping the
        rows and cols of self.
        Returns:
            Matrix - transpose of self.
        """
        rv = Matrix(self.row, self.col)
        for x in range(self.row):
            for y in range(self.col):
                rv.val[x][y] = self.val[y][x]
        return rv
Compute the transpose of self. Defined as the matrix formed by swapping the
        rows and cols of self.
        Returns:
            Matrix - transpose of self.
        
Compute the transpose of self. Defined as the matrix formed by swapping the
rows and cols of self.
Compute the transpose of self . Defined as the matrix formed by swapping the rows and cols of self .
def transpose(self) -> Matrix:
        rv = Matrix(self.row, self.col)
        for x in range(self.row):
            for y in range(self.col):
                rv.val[x][y] = self.val[y][x]
        return rv
def transpose ( self ) -> Matrix : rv = Matrix ( self . row , self . col ) for x in range ( self . row ) : for y in range ( self . col ) : rv . val [ x ] [ y ] = self . val [ y ] [ x ] return rv
Compute the transpose of self.
Compute the transpose of self .
"""Compute the transpose of self. Defined as the matrix formed by swapping the
        rows and cols of self.
        Returns:
            Matrix - transpose of self.
        """
transpose of self.
transpose of self .
self