def __imul__(self, mat):
        """ Add a matrix to this matrix.
        This modifies the current matrix """

        # Possibly not a proper operation
        # since this changes the current matrix
        # rank as well...
        
        # Calls __mul__
        tempmat = self * mat
        self.rows = tempmat.rows[:]
        self.m, self.n = tempmat.getRank()
        return self
 Add a matrix to this matrix.
        This modifies the current matrix 
recipes/Python/578131_A_simple_Matrix_class/recipe-578131.py