euler_characteristic() returns the Euler characteristic of a simplicial
complex, \(\chi = \sum_{k=0}^{d} (-1)^k f_k\), where \(f_k\) is the
number of k-simplices and \(d\) the dimension of the complex. By the
Euler-Poincare theorem it also equals \(\sum_{k} (-1)^k \beta_k\), the
alternating sum of the betti_numbers().
Arguments
- sc
A
simplicial_complexfrombuild_simplicial().