Macaulay2 » Documentation
Packages » LieAlgebraRepresentations :: gtPatternFromEntries
next | previous | forward | backward | up | index | toc

gtPatternFromEntries -- creates an object of type GTPattern from a list of entries

Description

Currently only supported for $\mathfrak{g} = sl_n$.

This function creates an object of type GTPattern from a list of entries. In doing so it computes the content and weight associated to the pattern with these entries, and makes the entries accessible from their indices.

i1 : x = gtPatternFromEntries("A",{2, 0, 0, 2, 0, 2})

o1 = (A, {2, 0, 0, 2, 0, 2})

o1 : GTPattern
i2 : peek x

o2 = GTPattern{(1, 1) => 2                  }
               (2, 1) => 2
               (2, 2) => 0
               (3, 1) => 2
               (3, 2) => 0
               (3, 3) => 0
               content => {2, 0, 0}
               entries => {2, 0, 0, 2, 0, 2}
               shape => {2, 0, 0}
               type => A
               weight => {2, 0}
i3 : x#(2,2)

o3 = 0

Ways to use gtPatternFromEntries:

  • gtPatternFromEntries(String,List)

For the programmer

The object gtPatternFromEntries is a method function.


The source of this document is in LieAlgebraRepresentations/documentation.m2:2347:0.