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

incInverse -- compute a flow in the preimage for a given weight

Synopsis

Description

Every integral flow induces a weight on the vertices $Q_0$ as follows: Let $a \in Q_1$ be an arrow. The symbol $a^{+} \in Q_0$ denotes its head and the symbol $a^{-} \in Q_0$ denotes its tail. The so called incidence map generates a weight from the flow $\mathbf{w}$ by $$ \text{inc}(\mathbf{w})(i) := \sum_{a\in Q_1 \atop a^{+} = i} \mathbf{w}(a) - \sum_{a\in Q_1 \atop a^{-} = i} \mathbf{w}(a) \quad \text{ for all } i \in Q_0. $$ The function incInverse calculates a vector in the preimage of such a map.

i1 : Q = toricQuiver(bipartiteQuiver(2,3));
i2 : th = {-5,-1,2,2,2};
i3 : incInverse(th, Q)

o3 = {1, 2, 2, 1, 0, 0}

o3 : List

See also

Ways to use incInverse :

For the programmer

The object incInverse is a method function.