@@ -143,14 +143,14 @@ def value(D, k):
143
143
144
144
INPUT:
145
145
146
- - ``D`` -- a tuple or other iterable.
146
+ - ``D`` -- a tuple or other iterable
147
147
148
- - ``k`` -- the base.
148
+ - ``k`` -- the base
149
149
150
150
OUTPUT:
151
151
152
152
An element in the common parent of the base `k` and of the entries
153
- of `D`.
153
+ of `D`
154
154
155
155
EXAMPLES::
156
156
@@ -168,16 +168,16 @@ def split_interlace(n, k, p):
168
168
169
169
INPUT:
170
170
171
- - ``n`` -- an integer.
171
+ - ``n`` -- an integer
172
172
173
- - ``k`` -- an integer specifying the base.
173
+ - ``k`` -- an integer specifying the base
174
174
175
175
- ``p`` -- a positive integer specifying in how many parts
176
176
the input ``n`` is split. This has to be a divisor of ``k``.
177
177
178
178
OUTPUT:
179
179
180
- A tuple of integers.
180
+ A tuple of integers
181
181
182
182
EXAMPLES::
183
183
@@ -896,21 +896,21 @@ def guess(self, f, n_max=100, max_dimension=10, sequence=None):
896
896
INPUT:
897
897
898
898
- ``f`` -- a function (callable) which determines the sequence.
899
- It takes nonnegative integers as an input.
899
+ It takes nonnegative integers as an input
900
900
901
901
- ``n_max`` -- (default: ``100``) a positive integer. The resulting
902
902
`k`-regular sequence coincides with `f` on the first ``n_max``
903
- terms.
903
+ terms
904
904
905
905
- ``max_dimension`` -- (default: ``10``) a positive integer specifying
906
- the maxium dimension which is tried when guessing the sequence.
906
+ the maxium dimension which is tried when guessing the sequence
907
907
908
908
- ``sequence`` -- (default: ``None``) a `k`-regular sequence used
909
- for bootstrapping this guessing.
909
+ for bootstrapping this guessing
910
910
911
911
OUTPUT:
912
912
913
- A :class:`kRegularSequence`.
913
+ A :class:`kRegularSequence`
914
914
915
915
EXAMPLES:
916
916
0 commit comments