Rank of Homology Groups?
I'm trying to compute Magnitude Homology, but when compiling and running the code I keep getting the error: 'HomologyGroup_class_with_category' object has no attribute 'rank.'
I've tried other methods for trying to compute the rank of the Homology Groups, but it's the same thing. Not all the typical functions used for Abelian Groups carries over to Homology in sagemath. The only functions I've found that work are .ngens(), .invariants(), .gens(), and .order().
Can someone please explain to me how to find the rank of the Homology groups I'm trying to work with? I'm looking for torsion, so any explanation on how to work with these will be a big help!
PM
Please provide an actual code illustrating the issue.
You could define any simplicial complex "C" and then ask for C.rank() and this will get you the error. Other functions like C.ngens(), C.invariants(), and C.gens() will work but an error always shows up for C.rank().
See also https://github.com/sagemath/sage/pull...