An implementation of algorithms used in computational topology. Created for the MATH 551 honors project.
simplicialcomplex.py
implements the SimplicialComplex
object. It can be constructed with the dimension of the complex
K = SimplicialComplex(2)
add_simplex
K.add_simplex([0, 1, 2])
K.add_simplex([1, 2])
K.add_simplex([1])
The Euler characteristic of a SimplicialComplex
K.euler_characteristic()
A list of Betti numbers up to the dimension of
K.betti_numbers()
In the tester.py
file, there are example calculations done on the
- Simplex data structure
- Make a filetype for data structure
- Implement boundary operator (matrix)
- Betti number algorithms
- Compute invariants for other simplicial complexes