Macaulay2 » Documentation
Packages » MacaulayPosets :: AllOrders
next | previous | forward | backward | up | index | toc

AllOrders -- whether to return all orders instead of at most one order

Description

With AllOrders=>false, the list returned by the method will have at most one element.

i1 : B = booleanLattice 3

o1 = B

o1 : Poset
i2 : #(macaulayOrders B)

o2 = 12
i3 : macaulayOrders(B, AllOrders=>false)

o3 = {{000, 001, 010, 100, 011, 101, 110, 111}}

o3 : List

See also

Functions with optional argument named AllOrders:

  • macaulayOrders(...,AllOrders=>...)

For the programmer

The object AllOrders is a symbol.


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/MacaulayPosets.m2:1624:0.