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
I'm pretty sure the output should look different (compare with:
Dimension: 0
[0.0, infinity): [0]
Dimension: 1
[0.0, infinity): [1,2] + [0,2] + [0,1]
which is what you get when computing persistent homology over Z_2).
The text was updated successfully, but these errors were encountered:
When executing:
stream = api.Plex4.createExplicitSimplexStream();
stream.addVertex(0);
stream.addVertex(1);
stream.addVertex(2);
stream.addElement([0, 1]);
stream.addElement([0, 2]);
stream.addElement([1, 2]);
Q_persistence = api.Plex4.getRationalSimplicialAlgorithm(2)
Q_persistence.computeAnnotatedIntervals(stream)
I got the following result:
circle_intervals =
Dimension: 0
[0.0, infinity): org.apache.commons.math.fraction.Fraction@5b0f [0]
Dimension: 1
[0.0, infinity): org.apache.commons.math.fraction.Fraction@5b0f [1,2] + org.apache.commons.math.fraction.Fraction@5ac5 [0,2] + org.apache.commons.math.fraction.Fraction@5b0f [0,1]
I'm pretty sure the output should look different (compare with:
Dimension: 0
[0.0, infinity): [0]
Dimension: 1
[0.0, infinity): [1,2] + [0,2] + [0,1]
which is what you get when computing persistent homology over Z_2).
The text was updated successfully, but these errors were encountered: