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

addRoots(RootSystem,Root,Root) -- the sum of two roots

Synopsis

Description

i1 : R=rootSystemA(2)

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

o1 : RootSystem
i2 : r1=simpleRoot(R,1)

o2 = |  2 |
     | -1 |

o2 : Root
i3 : r2=simpleRoot(R,2)

o3 = | -1 |
     |  2 |

o3 : Root
i4 : r=addRoots(R,r1,r2)

o4 = | 1 |
     | 1 |

o4 : Root
i5 : addRoots(R,r1,r)

o5 = | 3 |
     | 0 |

o5 : Weight