# weight(RootSystem,BasicList) -- construct a weight from a list

## Synopsis

• Function: weight
• Usage:
weight(R,L)
• Inputs:
• R, an instance of the type RootSystem,
• L, , the coordinates of the weight
• Outputs:
• an instance of the type Weight, a weight vector in a the weight lattice of R

## Description

 i1 : R=rootSystemB(3) o1 = RootSystem{...8...} o1 : RootSystem i2 : weight(R,{1,2,1}) o2 = | 1 | | 2 | | 1 | o2 : Weight