Ask Your Question

Revision history [back]

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