powered by
Compute Euler characteristic for an abstract simplicial complex
abstract_simplicial_complex(simplices, dimension, tol = NULL)
The Euler characteristic \(\chi\).
A list of simplices (each a numeric vector).
Optional max dimension to compute up to.
Optional numerical tolerance to pass to rankMatrix().
rankMatrix()
simplices <- list(c(1, 2), c(3, 4), c(2, 1, 3), c(4, 2)) abstract_simplicial_complex(simplices, 2)
Run the code above in your browser using DataLab