Macaulay2 » Documentation
Packages » ThinSincereQuivers > Flow
next | previous | forward | backward | up | index | toc

Flow

Description

optional argument that can be a string with values Canonical, which assigns a value of 1 to each edge, or Random, which assigns random integer values.

i1 : Q = toricQuiver(matrix({{-1,-1,-1,-1},{1,1,0,0},{0,0,1,1}}), Flow => "Canonical")

o1 = ToricQuiver{flow => {1, 1, 1, 1}                  }
                 IncidenceMatrix => | -1 -1 -1 -1 |
                                    | 1  1  0  0  |
                                    | 0  0  1  1  |
                 Q0 => {0, 1, 2}
                 Q1 => {{0, 1}, {0, 1}, {0, 2}, {0, 2}}
                 synonym => toric quiver
                 weights => {-4, 2, 2}

o1 : ToricQuiver
i2 : Q = toricQuiver(matrix({{-1,-1,-1,-1},{0,0,1,1},{1,1,0,0}}), Flow => "Random")

o2 = ToricQuiver{flow => {3, 7, 8, 1}                  }
                 IncidenceMatrix => | -1 -1 -1 -1 |
                                    | 1  1  0  0  |
                                    | 0  0  1  1  |
                 Q0 => {0, 1, 2}
                 Q1 => {{0, 1}, {0, 1}, {0, 2}, {0, 2}}
                 synonym => toric quiver
                 weights => {-19, 10, 9}

o2 : ToricQuiver
i3 : Q = bipartiteQuiver(2, 3, Flow => "Random")

o3 = ToricQuiver{flow => {8, 3, 3, 7, 8, 8}                            }
                 IncidenceMatrix => | -1 -1 -1 0  0  0  |
                                    | 0  0  0  -1 -1 -1 |
                                    | 1  0  0  1  0  0  |
                                    | 0  1  0  0  1  0  |
                                    | 0  0  1  0  0  1  |
                 Q0 => {0, 1, 2, 3, 4}
                 Q1 => {{0, 2}, {0, 3}, {0, 4}, {1, 2}, {1, 3}, {1, 4}}
                 synonym => toric quiver
                 weights => {-14, -23, 15, 11, 11}

o3 : ToricQuiver

See also

Functions with optional argument named Flow :

For the programmer

The object Flow is a symbol.