docs: public static boolean invert(DMatrixSparseCSC A, DMatrixRMaj inverse ) {
          if( A.numRows != A.numCols )
              throw new IllegalArgumentException("A must be a square matrix");
          inverse.reshape(A.numRows,A.numCols);
  
          LinearSolverSparse<DMatrixSparseCSC,DMatrixRMaj> solver;
          solver = LinearSolverFactory_DSCC.lu(FillReducing.NONE);
  
          // Ensure that the input isn't modified
          if( solver.modifiesA() )
              A = A.copy();
  
          DMatrixRMaj I = CommonOps_DDRM.identity(A.numRows);
  
          // decompose then solve the matrix
          if( !solver.setA(A) )
              return false;
  
          solver.solve(I, inverse);
          return true;
      }