next | previous | forward | backward | up | top | index | toc | Macaulay2 website
WeylGroups :: eval(RootSystem,Weight,Root)

eval(RootSystem,Weight,Root) -- evaluate the dual of a root at a Weight

Synopsis

Description

i1 : R=rootSystemA(2)

o1 = RootSystem{...8...}

o1 : RootSystem
i2 : L=toList(positiveRoots(R))

o2 = {|  2 |, | -1 |, | 1 |}
      | -1 |  |  2 |  | 1 |

o2 : List
i3 : v=weight(R,{1,2})

o3 = | 1 |
     | 2 |

o3 : Weight
i4 : eval(R,v,L#0)

o4 = 1
i5 : eval(R,v,L#1)

o5 = 2
i6 : eval(R,v,L#2)

o6 = 3