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

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 |

o2 : Weight
i3 : scalarProduct(R,1,v)

     2
o3 = -
     3

o3 : QQ