Home | Trees | Index | Help |
|
---|
Package sage :: Package tables :: Module elliptic_curves :: Class Database |
|
object
--+ |_uniq
--+ |Database
--+ | Database
INPUT: read_only -- bool, default: True, if False then can change the database; otherwise, not.
Method Summary | |
---|---|
__init__(self,
read_only)
| |
__getitem__(self,
i)
| |
__getslice__(self,
i,
j)
| |
Iterate through all optimal curves in the database. | |
__repr__(self)
| |
Return the list of all curves in the database with given conductors. | |
Return the curve with given Cremona label. | |
Return the list of all curves in the database with given conductors. | |
Return the isogeny class of the curve with given Cremona label. | |
Return the list of all optimal curves in the database with given conductor(s). | |
Inherited from Database | |
| |
| |
Return a dict representation of the database. | |
Informs the database that some items corresponding to the given key may have changed. | |
Copy the database to a new database with the given new_name. | |
Commit the new version of this object to the database file. | |
Delete every entry in the database. | |
| |
| |
| |
| |
This should pack, but I couldn't get pack working with compressed storage. | |
Completely rebuild the database from scratch, by going through and writing everything out to a temporary database, then moving the temporary database files over self's files. | |
Restore from the filename which must store a pickled dict. | |
Restore all files that start with the given basename. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Method Details |
---|
__iter__(self)Iterate through all optimal curves in the database. |
all_curves(self, conductors)Return the list of all curves in the database with given conductors. INPUT: conductor - an iterable |
curve(self, label)Return the curve with given Cremona label. |
curves(self, conductors)Return the list of all curves in the database with given conductors. INPUT: conductor - an iterable |
isogeny_class(self, label)Return the isogeny class of the curve with given Cremona label. |
optimal_curves(self, conductors)Return the list of all optimal curves in the database with given conductor(s). INPUT: conductor - an integer. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 17:58:46 2005 | http://epydoc.sf.net |