Ask Your Question
1

How to see the documentation for a Sage function

asked 2013-06-17 09:02:36 -0500

JoshIzzard gravatar image

I am looking for the documentation (i.e., the source code) of invariant_degree() in the Weyl Character Rings module. I have looked through that website pretty extensively, but I think I am looking in the wrong place?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-17 09:21:38 -0500

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??
edit flag offensive delete link more

Comments

Note: `x.invariant_degree??` also tells you the path to the file in which the source code is, so you can open that file in your favourite text editor to read it more comfortably and to have a look at the surrounding code.

slelievre gravatar imageslelievre ( 2014-07-13 11:56:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-17 09:02:36 -0500

Seen: 45 times

Last updated: Jun 17 '13