Ask Your Question
1

How to see the documentation for a Sage function

asked 2013-06-17 16:02:36 +0100

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 16:21:38 +0100

vdelecroix gravatar image

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 18:56:09 +0100 )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 16:02:36 +0100

Seen: 506 times

Last updated: Jun 17 '13