You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/order.xml
+61-17Lines changed: 61 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,67 @@ gap> MinimalElements(p);
51
51
</ManSection>
52
52
53
53
54
+
<ManSection>
55
+
<OperName="UpSet"Arg="P,l"Label="for posets defined by numerical semigroups"/>
56
+
<Description>
57
+
<C>P</C> is a poset induced by a numerical semigroup, <C>l</C> is a list of integers (contained in the ground set of <C>P</C>). Returns the upset of the list <C>l</C> in the poset <C>P</C>, that is, all elements of <C>P</C> greater than or equal to some element of <C>l</C>.
58
+
<Example><![CDATA[
59
+
gap> s:=NumericalSemigroup(3,5,7);;
60
+
gap> l:=[1..10];;
61
+
gap> p:=PosetNS(l,s);;
62
+
gap> UpSet(p,[2,4]);
63
+
[ 2, 4, 5, 7, 8, 9, 10 ]
64
+
gap> UpSet(p,[2])=Filtered(l,i->i-2 in s);
65
+
true
66
+
]]></Example>
67
+
</Description>
68
+
</ManSection>
69
+
70
+
<ManSection>
71
+
<OperName="DownSet"Arg="P,l"Label="for posets defined by numerical semigroups"/>
72
+
<Description>
73
+
<C>P</C> is a poset induced by a numerical semigroup, <C>l</C> is a list of integers (contained in the ground set of <C>P</C>). Returns the downset of the list <C>l</C> in the poset <C>P</C>, that is, all elements of <C>P</C> less than or equal to some element of <C>l</C>.
<C>S</C> is a numerical semigroup and <C>A</C> is a set of integers. Returns the set of antichains (sets of non-comparable elements) of <C>A</C> with respect to the ordering <M>a\preceq b</M> if <M>b - a</M> in <C>S</C>.
91
+
<Example><![CDATA[
92
+
gap> s:=NumericalSemigroup(3,5,7);;
93
+
gap> AntichainsOfNumericalSemigroup(s,Gaps(s));
94
+
[ [ ], [ 4 ], [ 2 ], [ 2, 4 ], [ 1 ], [ 1, 2 ] ]
95
+
]]></Example>
96
+
</Description>
97
+
</ManSection>
98
+
99
+
<ManSection>
100
+
<FuncName="Antichains"Arg="P"/>
101
+
<Description>
102
+
<C>P</C> is a poset defined by a numerical semigroup. Returns the set of antichains (sets of non-comparable elements) of <C>P</C>.
<C>S</C> is a numerical semigroup and <C>A</C> is a set of integers. Returns the set of antichains (sets of non-comparable elements) of <C>A</C> with respect to the ordering <M>a\preceq b</M> if <M>b - a</M> in <C>S</C>.
0 commit comments