next | previous | forward | backward | up | top | index | toc | Macaulay2 website
WeylGroups :: - Weight

- Weight -- the negative of a weight

Synopsis

Description

i1 : R=rootSystemA(4)

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

o1 : RootSystem
i2 : M=cartanMatrix R

o2 = | 2  -1 0  0  |
     | -1 2  -1 0  |
     | 0  -1 2  -1 |
     | 0  0  -1 2  |

              4        4
o2 : Matrix ZZ  <--- ZZ
i3 : p=weight(R,M_2)

o3 = |  0 |
     | -1 |
     |  2 |
     | -1 |

o3 : Weight
i4 : -p

o4 = |  0 |
     |  1 |
     | -2 |
     |  1 |

o4 : Weight