Skip to content

Commit 6c97400

Browse files
committed
use smaller doctests without ellipsis
1 parent dbac444 commit 6c97400

File tree

1 file changed

+17
-25
lines changed

1 file changed

+17
-25
lines changed

src/sage/rings/function_field/drinfeld_modules/drinfeld_module.py

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -944,35 +944,27 @@ def basic_j_invariant_parameters(self, coeff_indices=None, nonzero=False):
944944
((1, 2), (12, 29, 6)),
945945
((1, 2), (31, 31, 7))]
946946
947-
One can specify the list of coefficients indices to be
948-
considered in the computation::
947+
Use the ``nonzero=True`` flag to display only the parameters
948+
whose `j`-invariant value is nonzero::
949949
950-
sage: A = GF(3)['T']
951-
sage: K.<T> = Frac(A)
952-
sage: phi = DrinfeldModule(A, [T, T, 2, T, 2*T, T^3, T^4 + T^2 + 1])
953-
sage: phi.basic_j_invariant_parameters([1, 5])
954-
[((1, 5), (273, 91, 31)),
955-
((1, 5), (297, 163, 55)),
956-
((1, 5), (295, 157, 53)),
957-
((1, 5), (265, 67, 23)),
958-
((1, 5), (357, 343, 115)),
959-
...
960-
((1, 5), (146, 74, 25))]
950+
sage: phi.basic_j_invariant_parameters(nonzero=True)
951+
[((2,), (31, 6))]
961952
962-
Use ``nonzero=True`` to speed up the computations for Drinfeld
963-
modules having multiple zero coefficients::
964953
965-
sage: A = GF(5)['T']
954+
One can specify the list of coefficients indices to be
955+
considered in the computation::
956+
957+
sage: A = GF(2)['T']
966958
sage: K.<T> = Frac(A)
967-
sage: phi = DrinfeldModule(A, [T, 0, T+1, 0, 1, 0, T])
968-
sage: phi.basic_j_invariant_parameters(nonzero=True)
969-
[((2, 4), (260, 641, 26)),
970-
((2, 4), (157, 19, 1)),
971-
((2, 4), (27, 24, 1)),
972-
((2, 4), (188, 143, 6)),
973-
((2, 4), (401, 260, 11)),
974-
...
975-
((2, 4), (288, 39, 2))]
959+
sage: phi = DrinfeldModule(A, [T, T, 1, T])
960+
sage: phi.basic_j_invariant_parameters([1, 2])
961+
[((1, 2), (1, 2, 1)),
962+
((1, 2), (4, 1, 1)),
963+
((1, 2), (7, 0, 1)),
964+
((1, 2), (5, 3, 2)),
965+
((1, 2), (0, 7, 3)),
966+
((1, 2), (6, 5, 3)),
967+
((1, 2), (7, 7, 4))]
976968
977969
TESTS::
978970

0 commit comments

Comments
 (0)