File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class ProductTree:
43
43
44
44
INPUT:
45
45
46
- - ``leaves`` -- a sequence of elements in a common ring
46
+ - ``leaves`` -- an iterable of elements in a common ring
47
47
48
48
EXAMPLES::
49
49
@@ -197,9 +197,9 @@ def remainders(self, x):
197
197
198
198
def prod_with_derivative (pairs ):
199
199
r"""
200
- Given a list of pairs `(f, \partial f)` of ring elements, return
201
- the pair `(\prod f, \partial \prod f)`, assuming `\partial` is an
202
- operator obeying the standard product rule.
200
+ Given an iterable of pairs `(f, \partial f)` of ring elements,
201
+ return the pair `(\prod f, \partial \prod f)`, assuming `\partial`
202
+ is an operator obeying the standard product rule.
203
203
204
204
This function is entirely algebraic, hence still works when the
205
205
elements `f` and `\partial f` are all passed through some ring
@@ -209,7 +209,7 @@ def prod_with_derivative(pairs):
209
209
210
210
INPUT:
211
211
212
- - ``pairs`` -- a sequence of tuples `(f, \partial f)` of elements
212
+ - ``pairs`` -- an iterable of tuples `(f, \partial f)` of elements
213
213
of a common ring
214
214
215
215
ALGORITHM: Repeated application of the product rule.
You can’t perform that action at this time.
0 commit comments