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

ToricQuiver == ToricQuiver -- whether two toric quivers are equal.

Synopsis

Description

This method takes two toric quivers and returns the boolean of the statement Q1 is equal to Q2.

i1 : Q = bipartiteQuiver(2, 3)

o1 = ToricQuiver{flow => {1, 1, 1, 1, 1, 1}                            }
                 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 => {-3, -3, 2, 2, 2}

o1 : ToricQuiver
i2 : R = bipartiteQuiver(2, 2)

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

o2 : ToricQuiver
i3 : Q == R

o3 = false
i4 : Q = toricQuiver {{0, 2}, {0, 3}, {1, 2}, {1, 3}}

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

o4 : ToricQuiver
i5 : R = bipartiteQuiver(2, 2)

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

o5 : ToricQuiver
i6 : Q == R

o6 = true

See also

Ways to use this method: