Macaulay2 » Documentation
Packages » WeylGroups :: scalarProduct(RootSystem,ZZ,Weight)
next | previous | forward | backward | up | index | toc

scalarProduct(RootSystem,ZZ,Weight) -- the scalar product of a fundamental weight and a weight

Synopsis

Description

i1 : R=rootSystemA(2)

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

o1 : RootSystem
i2 : v=weight(R,{1,2})

o2 = | 1 |
     | 2 |

       2
o2 : ZZ
i3 : scalarProduct(R,1,v)

     2
o3 = -
     3

o3 : QQ

Ways to use this method: