BettiNumber(K,n):: SimplicialComplex, Int --> Int
BettiNumber(K,n):: PureCubicalComplex, Int --> Int
BettiNumber(K,n):: CubicalComplex, Int --> Int
BettiNumber(K,n):: PurePermComplex, Int --> Int
BettiNumber(K,n):: RegCWComplex, Int --> Int
BettiNumber(K,n):: ChainComplex, Int --> Int
BettiNumber(K,n):: SparseChainComplex, Int --> Int
BettiNumber(K,n,p):: SimplicialComplex, Int, Int --> Int
BettiNumber(K,n,p):: PureCubicalComplex, Int, Int --> Int
BettiNumber(K,n,p):: CubicalComplex, Int, Int --> Int
BettiNumber(K,n,p):: PurePermComplex, Int, Int --> Int
BettiNumber(K,n,p):: RegCWComplex, Int, Int --> Int

Inputs a simplicial, cubical, pure cubical, pure permutahedral, regular CW, chain or sparse chain complex K together with an integer n \ge 0 and returns the nth Betti number of K.

Inputs a simplicial, cubical, pure cubical, pure permutahedral or regular CW-complex K together with an integer n \ge 0 and a prime p \ge 0 or p=0. In this case the nth Betti number of K over a field of characteristic p is returned.