The GUDHI library is a generic open source C++ library, with a Python interface, for Topological Data Analysis (TDA) and Higher Dimensional Geometry Understanding.
Were problem can arise when swapping two columns from different matrices, is at the row access, as the cells in the rows will not be swapped (you should first unlink a column and relink it after swap). [...] Nevertheless, I realized that I never mentioned this in the doc. I could also just add the linking/unlinking in the swap operator.
_Originally posted by @hschreiber in https://github.com/GUDHI/gudhi-devel/pull/669#discussion_r1652771815_