@@ -312,11 +312,11 @@ def one_basis(self):
312
312
313
313
def product_on_basis (self , pw1 , pw2 ):
314
314
r"""
315
- Return the product of basis elements ``w1 `` and ``w2 ``.
315
+ Return the product of basis elements ``pw1 `` and ``pw2 ``.
316
316
317
317
INPUT:
318
318
319
- - ``w1 ``, ``w2 `` -- basis elements
319
+ - ``pw1 ``, ``pw2 `` -- basis elements
320
320
321
321
EXAMPLES::
322
322
@@ -333,13 +333,13 @@ def product_on_basis(self, pw1, pw2):
333
333
334
334
def half_product_on_basis (self , pw1 , pw2 ):
335
335
r"""
336
- Return the half product of basis elements ``w1 `` and ``w2 ``.
336
+ Return the half product of basis elements ``pw1 `` and ``pw2 ``.
337
337
338
338
This is an extension of the zinbiel product of the shuffle algebra.
339
339
340
340
INPUT:
341
341
342
- - ``w1 ``, ``w2 `` -- Basis elements
342
+ - ``pw1 ``, ``pw2 `` -- Basis elements
343
343
344
344
EXAMPLES::
345
345
@@ -408,7 +408,7 @@ def custom_gen(self, i):
408
408
409
409
INPUT:
410
410
411
- - ``i`` -- a nonnegative integer
411
+ - ``i`` -- a nonnegative integer (at least 2)
412
412
413
413
If ``i`` is odd, this returns a single generator `f_i` of the free
414
414
shuffle algebra.
@@ -463,7 +463,7 @@ def some_elements(self):
463
463
464
464
def coproduct_on_basis (self , pw ):
465
465
r"""
466
- Return the coproduct of the basis element indexed by the word ``w ``.
466
+ Return the coproduct of the basis element indexed by the pair ``pw ``.
467
467
468
468
The coproduct is given by deconcatenation on the shuffle part,
469
469
and extended by the value
@@ -474,7 +474,7 @@ def coproduct_on_basis(self, pw):
474
474
475
475
INPUT:
476
476
477
- - ``w `` -- a word
477
+ - ``pw `` -- an index
478
478
479
479
EXAMPLES::
480
480
@@ -695,10 +695,6 @@ def homogeneous_to_vector(self):
695
695
696
696
This is using a fixed enumeration of the basis.
697
697
698
- INPUT:
699
-
700
- an homogeneous element of :func:`F_ring` over some base ring
701
-
702
698
OUTPUT:
703
699
704
700
a vector with coefficients in the base ring
0 commit comments