Macaulay2 » Documentation
Packages » HyperplaneArrangements :: flats(ZZ,Arrangement)
next | previous | forward | backward | up | index | toc

flats(ZZ,Arrangement) -- list the flats of an arrangement of a given rank

Synopsis

Description

If $A$ is a CentralArrangement, the flats are computed using the flats method from the Matroids package. Otherwise, $A$ is computed using the Orlik--Solomon algebra.

i1 : A = typeA(3)

o1 = {x  - x , x  - x , x  - x , x  - x , x  - x , x  - x }
       1    2   1    3   1    4   2    3   2    4   3    4

o1 : Hyperplane Arrangement 
i2 : flats(2,A)

o2 = {{3, 4, 5}, {1, 2, 5}, {0, 5}, {0, 2, 4}, {1, 4}, {2, 3}, {0, 1, 3}}

o2 : List

If the rank is omitted, the flats of each rank are listed.

i3 : flats A

o3 = {{{}}, {{5}, {4}, {3}, {2}, {1}, {0}}, {{3, 4, 5}, {1, 2, 5}, {0, 5},
     ------------------------------------------------------------------------
     {0, 2, 4}, {1, 4}, {2, 3}, {0, 1, 3}}, {{0, 1, 2, 3, 4, 5}}}

o3 : List

See also

Ways to use this method: