Sharedsupport / 2015-01-29-4ti2.sagewsOpen in CoCalc
Examples for support purposes...
s = complete_sandpile(4)
d = SandpileDivisor(s,[0,1,-2,3])
d.r_of_D()
-1
from sage.interfaces.four_ti_2 import four_ti_2
four_ti_2.graver([1,2,3]) # optional - 4ti2
[ 2 -1 0] [ 3 0 -1] [ 1 1 -1] [ 1 -2 1] [ 0 3 -2]