Macaulay2 » Documentation
Packages » Posets :: boundedRegions
next | previous | forward | backward | up | index | toc

# boundedRegions -- computes the number of bounded regions a hyperplane arrangement divides the space into

- Usage:
    `b = boundedRegions(A, R)`
- Inputs:
  - A, a list, of polynomials defining the hyperplanes
  - R, a ring,
- Outputs:
  - b, an integer, the number of bounded regions

## Description

This method computes the number of bounded regions cut out by the hyperplane arrangement.

    i1 : R = RR[x,y];

    i2 : A = {x+y,x,x-y,y+1};

    i3 : boundedRegions(A, R)

    o3 = 2

## See also

- intersectionLattice -- generates the intersection lattice of a hyperplane arrangement
- realRegions -- computes the number of regions a hyperplane arrangement divides the space into

## Ways to use boundedRegions:

- `boundedRegions(List,Ring)`

## For the programmer

The object boundedRegions is a method function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Posets.m2:4935:0.