Skip to content

Commit 53506aa

Browse files
committed
rename pseudo_inverse to quadratic
1 parent 9678717 commit 53506aa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/sage/combinat/bijectionist.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
:meth:`~Bijectionist.set_constant_blocks` | Declare that the statistic is constant on some sets.
2121
:meth:`~Bijectionist.set_distributions` | Restrict the distribution of values of the statistic on some elements.
2222
:meth:`~Bijectionist.set_intertwining_relations` | Declare that the statistic intertwines with other maps.
23-
:meth:`~Bijectionist.set_pseudo_inverse_relation` | Declare that the statistic satisfies a certain relation.
23+
:meth:`~Bijectionist.set_quadratic_relation` | Declare that the statistic satisfies a certain relation.
2424
:meth:`~Bijectionist.set_homomesic` | Declare that the statistic is homomesic with respect to a given set partition.
2525
2626
@@ -535,7 +535,7 @@ def __init__(self, A, B, tau=None, alpha_beta=tuple(), P=[],
535535
self.set_statistics(*alpha_beta)
536536
self.set_value_restrictions(*value_restrictions)
537537
self.set_distributions(*elements_distributions)
538-
self.set_pseudo_inverse_relation(*phi_psi)
538+
self.set_quadratic_relation(*phi_psi)
539539
self.set_homomesic(Q)
540540
self.set_intertwining_relations(*pi_rho)
541541
self.set_constant_blocks(P)
@@ -1395,7 +1395,7 @@ def set_intertwining_relations(self, *pi_rho):
13951395

13961396
set_semi_conjugacy = set_intertwining_relations
13971397

1398-
def set_pseudo_inverse_relation(self, *phi_psi):
1398+
def set_quadratic_relation(self, *phi_psi):
13991399
r"""
14001400
Add restrictions of the form `s\circ\psi\circ s = \phi`.
14011401
@@ -1430,7 +1430,7 @@ def set_pseudo_inverse_relation(self, *phi_psi):
14301430
( [ /\ ] ) ]
14311431
( [ /\/\ / \ ] [ /\ ] ) ]
14321432
( [ / \, / \ ], [ /\/\/\, /\/ \ ] ) ]
1433-
sage: bij.set_pseudo_inverse_relation((lambda D: D, lambda D: D))
1433+
sage: bij.set_quadratic_relation((lambda D: D, lambda D: D))
14341434
sage: ascii_art(sorted(bij.minimal_subdistributions_iterator()))
14351435
[ ( [ /\ ] )
14361436
[ ( [ / \ ] ) ( [ /\ ] [ /\/\ ] )
@@ -2516,7 +2516,7 @@ def __init__(self, bijectionist: Bijectionist, solutions=None):
25162516
name=f"block {p}"[:50])
25172517
self.add_alpha_beta_constraints()
25182518
self.add_distribution_constraints()
2519-
self.add_pseudo_inverse_relation_constraints()
2519+
self.add_quadratic_relation_constraints()
25202520
self.add_homomesic_constraints()
25212521
self.add_intertwining_relation_constraints()
25222522
if get_verbose() >= 2:
@@ -2959,7 +2959,7 @@ def add_intertwining_relation_constraints(self):
29592959
self.milp.add_constraint(rhs <= 0,
29602960
name=f"pi/rho({composition_index})")
29612961

2962-
def add_pseudo_inverse_relation_constraints(self):
2962+
def add_quadratic_relation_constraints(self):
29632963
r"""
29642964
Add constraints enforcing that `s\circ\phi\circ s =
29652965
\psi`.
@@ -2987,7 +2987,7 @@ def add_pseudo_inverse_relation_constraints(self):
29872987
( [ /\ ] ) ]
29882988
( [ /\/\ / \ ] [ /\ ] ) ]
29892989
( [ / \, / \ ], [ /\/\/\, /\/ \ ] ) ]
2990-
sage: bij.set_pseudo_inverse_relation((lambda D: D, lambda D: D)) # indirect doctest
2990+
sage: bij.set_quadratic_relation((lambda D: D, lambda D: D)) # indirect doctest
29912991
sage: ascii_art(sorted(bij.minimal_subdistributions_iterator()))
29922992
[ ( [ /\ ] )
29932993
[ ( [ / \ ] ) ( [ /\ ] [ /\/\ ] )

0 commit comments

Comments
 (0)