First time here? Check out the FAQ!
answered 2013-06-17 16:21:38 +0100
To access the source code you can do
sage: my_object??
In your case
sage: R = WeylCharacterRing(['A',2], prefix="R") sage: x = R.an_element() sage: x.invariant_degree??