Macaulay2 » Documentation
Packages » MacaulayPosets :: image(PosetMap,List)
next | previous | forward | backward | up | index | toc

image(PosetMap,List) -- the image of a poset map

Description

The image of the map $[3]\rightarrow[10]$ given by $i\mapsto 2i$ is computed below.

i1 : f = map(chain 10, chain 3, {1=>2, 2=>4, 3=>6})

o1 = PosetMap{1 => 2                                            }
              2 => 4
              3 => 6
              source => Relation Matrix: | 1 1 1 |
                                         | 0 1 1 |
                                         | 0 0 1 |
              target => Relation Matrix: | 1 1 1 1 1 1 1 1 1 1 |
                                         | 0 1 1 1 1 1 1 1 1 1 |
                                         | 0 0 1 1 1 1 1 1 1 1 |
                                         | 0 0 0 1 1 1 1 1 1 1 |
                                         | 0 0 0 0 1 1 1 1 1 1 |
                                         | 0 0 0 0 0 1 1 1 1 1 |
                                         | 0 0 0 0 0 0 1 1 1 1 |
                                         | 0 0 0 0 0 0 0 1 1 1 |
                                         | 0 0 0 0 0 0 0 0 1 1 |
                                         | 0 0 0 0 0 0 0 0 0 1 |

o1 : PosetMap
i2 : image f

o2 = {2, 4, 6}

o2 : List

The image of ${1,2}$ under this map is computed below.

i3 : image(f, {1,2})

o3 = {2, 4}

o3 : List

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/MacaulayPosets.m2:1624:0.