Goto Chapter: Top 1 2 3 4 5 6 7 8 9 10 11 Bib Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

8 Tope posets
 8.1 Operations
 8.2 Attributes

8 Tope posets

8.1 Operations

8.1-1 TopePoset
‣ TopePoset( OM, BTope )( operation )

Returns: A TopePoset object

Constructs the tope poset of the oriented matroid OM with respect to the base tope BTope (given as sign vector).

gap> O:=OM([[1,0],[0,1]]); Ts:=OMCovectors(O)[1]; T:=Ts[1];
<OrientedMatroid: 2 elements, rank 2>
[ [ -1, -1 ], [ 1, 1 ], [ -1, 1 ], [ 1, -1 ] ]
[ -1, -1 ]
gap> TP:=TopePoset(O,T);
<TopePoset with 3 topes>

8.2 Attributes

8.2-1 TPGroundSet
‣ TPGroundSet( TP )( attribute )

Returns: A list of lists.

The ground set of the tope poset TP. It is a list of list, recording the separating elements of the given tope from the base tope.

gap> TPGroundSet(TP);
[ [ [  ] ], [ [ 1 ], [ 2 ] ], [ [ 1, 2 ] ] ]

8.2-2 TPBaseTope
‣ TPBaseTope( TP )( attribute )

Returns: A sign vector.

Returns the bast tope of the tope poset TP.

gap> TPBaseTope(TP);
[ -1, -1 ]

8.2-3 TPRankPoly
‣ TPRankPoly( TP )( attribute )

Returns: A polynomial.

Returns the rank generating polynomial of the tope poset TP.

gap> TPRankPoly(TP);
t^2+2*t+1
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 3 4 5 6 7 8 9 10 11 Bib Ind

generated by GAPDoc2HTML