This method returns a list of (affine) linear forms cutting out codimension one faces, raised to the power (r+1).
i1 : V = {{0,0},{1,0},{1,1},{0,1}}; |
i2 : E = {{0,1},{0,2},{0,3},{1,2},{2,3}}; |
i3 : formsList(V,E,0) o3 = {t , t - t , t , t - t , t - t } 1 0 1 0 0 2 1 2 o3 : List |
i4 : S=QQ[x,y];--can specify the polynomial ring to use, and whether to homogenize |
i5 : formsList(V,E,0,BaseRing=>S,Homogenize=>false) o5 = {y, x - y, x, x - 1, y - 1} o5 : List |
The object formsList is a method function with options.