Skip to content

Commit 562b414

Browse files
committed
move explanation of output to description, where it really belongs
1 parent ea36328 commit 562b414

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/sage/combinat/partition.py

+8-12
Original file line numberDiff line numberDiff line change
@@ -2489,17 +2489,15 @@ def glaisher_franklin(self, s):
24892489
r"""
24902490
Apply the Glaisher-Franklin bijection to ``self``.
24912491
2492-
INPUT:
2493-
2494-
- ``s`` -- positive integer
2495-
2496-
OUTPUT:
2497-
24982492
The Franklin-Glaisher bijection, with parameter `s`, returns
24992493
a partition whose set of parts that are repeated at least `s`
25002494
times equals the set of parts divisible by `s` in ``self``,
25012495
after dividing each part by `s`.
25022496
2497+
INPUT:
2498+
2499+
- ``s`` -- positive integer
2500+
25032501
EXAMPLES::
25042502
25052503
sage: Partition([4, 3, 2, 2, 1]).glaisher_franklin(2)
@@ -2554,18 +2552,16 @@ def glaisher_franklin_inverse(self, s):
25542552
r"""
25552553
Apply the inverse of the Glaisher-Franklin bijection to ``self``.
25562554
2557-
INPUT:
2558-
2559-
- ``s`` -- positive integer
2560-
2561-
OUTPUT:
2562-
25632555
The inverse of the Franklin-Glaisher bijection, with
25642556
parameter `s`, returns a partition whose set of parts that
25652557
are divisible by `s`, after dividing each by `s`, equals the
25662558
equals the set of parts repeated at least `s` times in
25672559
``self``.
25682560
2561+
INPUT:
2562+
2563+
- ``s`` -- positive integer
2564+
25692565
EXAMPLES::
25702566
25712567
sage: Partition([4, 3, 2, 2, 1]).glaisher_franklin(2)

0 commit comments

Comments
 (0)