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

## Synopsis

• 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) -- warning: experimental computation over inexact field begun -- results not reliable (one warning given per session) o3 = 2