# weight(RootSystem,Vector) -- construct a weight from a vector

## Synopsis

• Function: weight
• Usage:
weight(R,v)
• Inputs:
• R, an instance of the type RootSystem,
• v, , 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,vector {1,2,1}) o2 = | 1 | | 2 | | 1 | o2 : Weight