On Nov 27, 2011, at 12:24 , Artur wrote:

> John
> Tell me yet is possible to count rank of my curve over rational field
> I was try
> E.mwrank
> <bound method EllipticCurve_rational_field.mwrank of Elliptic Curve defined 
> by y^2

It might help you to know the following:

The TAB key can provide information about what possibilities are available from 
the string that you have just typed.  As you have discovered, if you type a 
"partial string", TAB will give you completions that are known.

TAB following the "." will give you names of both methods (functions) and 
variables associated to the name you have just typed, as for "E.".  Not all 
names will work for a given instance; what will actually work depends on 
exactly how the instance was created (Sage is based on Python [see below], 
which has a good "object" structure underlying it).

Also, once you have a complete name, "?" and "??" will give you documentation 
("?") or documentation + implementation (if possible) ("??") for the name.  Try 
typing "E?", once you have defined E as an elliptic curve (you get the same 
with "Elliptic_Curcve?").

It may also be helpful to review documentation on Python, and its "class" 
structures (see the documentation link on <http://www.python.org>).  Python is 
the underlying language for both the Sage system and the Sage interpreter, so 
understanding that will help you to understand Sage.

We don't put all of the possible details for all of Sage's functions and 
classes into documentation at any one time; Sage is dynamically changing, and 
to do so would be a lot of work.  Instead, we rely on the above "on-line" 
mechanisms to supplement the documentation.  A fair amount is automatically 
culled from source and put into various manuals (cf the documentation available 
in your installation, or on-line at <http://sagemath.org>).

Finally (if you've gotten this far), your experience with "mwrank" shows that 
this is a method, i.e., a function/procedure.  Typing "E.mwrank?" will give you 
information about how to use it.

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------



-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to