File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ of this package is to make them available through a generic python
1414interface. The package consists of a single module containing a single
1515function that returns a dict of dicts, ``conway_polynomials.database() ``.
1616The dictionary's format is ``{p => {n => coefficients}} ``, where ``p ``
17- represents your prime and ``n `` your degree. The list of coefficients
17+ represents your prime and ``n `` your degree. The tuple of coefficients
1818is returned in ascending order; that is, the first coefficient (at
1919index zero) is for the constant (degree zero) term.
2020
@@ -36,13 +36,13 @@ degree n=5::
3636 >>> import conway_polynomials
3737 >>> cpdb = conway_polynomials.database()
3838 >>> cpdb[2][5]
39- [ 1, 0, 2, 0, 0, 5]
39+ ( 1, 0, 2, 0, 0, 5)
4040
4141The result is cached, so subsequent computations should be fast even
4242if you call the function again::
4343
4444 >>> conway_polynomials.database()[5][5]
45- [ 3, 4, 0, 0, 0, 1]
45+ ( 3, 4, 0, 0, 0, 1)
4646
4747Testing
4848=======
You can’t perform that action at this time.
0 commit comments