Skip to contents

\(\chi = \sum_k (-1)^k f_k\) from the closed face set.

Usage

morie_euler_characteristic(maximal_simplices)

Arguments

maximal_simplices

A list of integer vectors.

Value

A list with chi, f_vector, dimension.

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_euler_characteristic(V)
#> $chi
#> [1] 8
#> 
#> $f_vector
#> [1] 8
#> 
#> $dimension
#> [1] 0
#> 
#> $estimate
#> [1] 8
#> 
#> $n
#> [1] 8
#> 
#> $method
#> [1] "Euler characteristic (Euler 1758)"
#>