degree function

The degree of a weyl object