def inverse(self):
        return self._new_instance(sp.linalg.inv(self.matrix.tocsc()))
Computes the inverse of a matrix.
dataset/ETHPy150Open jimmycallin/pydsm/pydsm/indexmatrix.py/IndexMatrix.inverse