Check Cell Count for degenerate hyperplane arrangements
When the hyperplane arrangement is degenerate, i.e. not in general position, the number of distinct cells can be checked against the formula of Alexanderson and Wetzel (1981).
polycount(A, b, maxints = 10)
A |
is a n by m matrix of hyperplane slope coefficients |
b |
is an n vector of hyperplane intercept coefficients |
maxints |
is maximum number of lines allowed to cross at the same vertex |
number of distinct cells
Alexanderson, G.L and J.E. Wetzel, (1981) Arrangements of planes in space, Discrete Math, 34, 219–240.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.