next | previous | forward | backward | up | top | index | toc | Macaulay2 website
WeylGroups :: isReflection(WeylGroupElement)

isReflection(WeylGroupElement) -- checks whether an element of a Weyl group is a reflection

Synopsis

Description

i1 : R=rootSystemD(5)

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

o1 : RootSystem
i2 : w=reduce(R,{3})

o2 = WeylGroupElement{RootSystem{...8...}, |  1 |}
                                           |  2 |
                                           | -1 |
                                           |  2 |
                                           |  2 |

o2 : WeylGroupElement
i3 : isReflection(w)

o3 = true