Macaulay2 » Documentation
Packages » SpechtModule :: toListOfTableaux(TableauList)
next | previous | forward | backward | up | index | toc

toListOfTableaux(TableauList) -- converts an object of type TableauList into a list of YoungTableau objects

Synopsis

Description

i1 : p = new Partition from {2,1}

o1 = Partition{2, 1}

o1 : Partition
i2 : y1 = youngTableau(p,{0,1,2})

o2 = | 0 1 |
     | 2 |

o2 : YoungTableau
i3 : y2 = youngTableau(p,{0,2,1})

o3 = | 0 2 |
     | 1 |

o3 : YoungTableau
i4 : y3 = youngTableau(p,{1,2,0})

o4 = | 1 2 |
     | 0 |

o4 : YoungTableau
i5 : t = tableauList p

o5 = {}

o5 : TableauList
i6 : addTableau(t, y1)

o6 = {| 0 1 |}
      | 2 |

o6 : TableauList
i7 : addTableau(t, y2)

o7 = {| 0 1 |, | 0 2 |}
      | 2 |    | 1 |

o7 : TableauList
i8 : addTableau(t, y3)

o8 = {| 0 1 |, | 0 2 |, | 1 2 |}
      | 2 |    | 1 |    | 0 |

o8 : TableauList
i9 : toListOfTableaux t

o9 = {| 0 1 |, | 0 2 |, | 1 2 |}
      | 2 |    | 1 |    | 0 |

o9 : List

Ways to use this method: