You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the Betti Numbers and vector spaces are as expected, the generators are not. For H_1, the [1] index refers to b, which is in the image of boundary and thus is reducible to the trivial group in homology. Furthermore, the generator for H_2 is given as c, which is not a cycle and so can't be a generator.
I suppose I must be doing something incorrectly, and would appreciate any guidance as to how to correct it.
As a note, when I use similar incidence matrices to generate a CellComplex in Sagemath, and then ask for homology with generators, I obtain a reasonable result and as far as I know, Sagemath is just interfacing back to CHomP (although I think it is using the old version).
The text was updated successfully, but these errors were encountered:
I think I may have figured out my issue. Namely, indexes given in the generators do not correspond to the indices used in the .mat file, but instead to the order that the cells appear in the .mat file. Thus, they are referring to the correct elements.
I got the expected output by sorting the incidence entries in the input file:
I suppose this issue could be closed, but the dependence to the order in which incidence entries appear seems to be unnecessary and counterintuitive. That is, I feel it could be enhanced by changing this behavior.
As a simple test case, I am trying to compute the homology with generators of the chain complex:
with boundary:
and all others equal to zero. I have the following .mat file:
Using the command
chomp-matrix myfile.mat -g
, I obtain the output:While the Betti Numbers and vector spaces are as expected, the generators are not. For H_1, the
[1]
index refers tob
, which is in the image of boundary and thus is reducible to the trivial group in homology. Furthermore, the generator for H_2 is given asc
, which is not a cycle and so can't be a generator.I suppose I must be doing something incorrectly, and would appreciate any guidance as to how to correct it.
As a note, when I use similar incidence matrices to generate a CellComplex in Sagemath, and then ask for homology with generators, I obtain a reasonable result and as far as I know, Sagemath is just interfacing back to CHomP (although I think it is using the old version).
The text was updated successfully, but these errors were encountered: