'Reduce the rank of the matrix by dropping all vectors.'

def restart_reduce(self, rank):

    if (self.collapsed is not None):
        return
    assert (rank > 0)
    if (len(self.cs) > rank):
        del self.cs[:]
        del self.ds[:]
