| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
structure.sage_object.SageObject --+
|
combinat.CombinatorialObject --+
|
LatticeDiagram
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
EXAMPLES:
sage: a = LatticeDiagram([3,0,2])
sage: a.boxes()
[(1, 1), (1, 2), (1, 3), (3, 1), (3, 2)]
sage: a = LatticeDiagram([2, 1, 3, 0, 0, 2])
sage: a.boxes()
[(1, 1), (1, 2), (2, 1), (3, 1), (3, 2), (3, 3), (6, 1), (6, 2)]
|
Returns the $i^{th}$ entry of self. Note that the
indexing starts for lattice diagrams starts at 1.
EXAMPLES:
sage: a = LatticeDiagram([3,0,2])
sage: a[1]
3
sage: a[0]
Traceback (most recent call last):
...
ValueError: indexing starts at 1
sage: a[-1]
2
|
Returns the leg of the box (i,j) in self.
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.leg(5,2)
[(5, 3)]
|
Returns the left arm of the box (i,j) in self.
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.arm_left(5,2)
[(1, 2), (3, 2)]
|
Returns the right arm of the box (i,j) in self.
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.arm_right(5,2)
[(8, 1)]
|
Returns the arm of the box (i,j) in self.
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.arm(5,2)
[(1, 2), (3, 2), (8, 1)]
|
Returns the self[i] - j.
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.l(5,2)
1
|
Returns len(self.arm(i,j)).
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.a(5,2)
3
|
Returns the number of boxes in self.
EXAMPLES:
sage: a = LatticeDiagram([3,1,2,4,3,0,4,2,3])
sage: a.size()
22
|
Returns the flip of the self where flip is defined as follows.
Let r = max(self). Then self.flip()[i] = r - self[i].
EXAMPLES:
sage: a = LatticeDiagram([3,0,2])
sage: a.flip()
[0, 3, 1]
|
Returns a list of the boxes that are in the same row as self, and in the
row below self (including the basement) that are strictly to the
right of self.
EXAMPLES:
sage: a = AugmentedLatticeDiagramFilling([[1,6],[2],[3,4,2],[],[],[5,5]])
sage: a = a.shape()
sage: a.boxes_same_and_lower_right(1,1)
[(2, 1), (3, 1), (6, 1), (2, 0), (3, 0), (4, 0), (5, 0), (6, 0)]
sage: a.boxes_same_and_lower_right(1,2)
[(3, 2), (6, 2), (2, 1), (3, 1), (6, 1)]
sage: a.boxes_same_and_lower_right(3,3)
[(6, 2)]
sage: a.boxes_same_and_lower_right(2,3)
[(3, 3), (3, 2), (6, 2)]
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 17 04:23:36 2008 | http://epydoc.sourceforge.net |