Partition backtrack functions for lists – a simple example of using partn_ref.¶
EXAMPLES:
sage: import sage.groups.perm_gps.partn_ref.refinement_lists
-
sage.groups.perm_gps.partn_ref.refinement_lists.
is_isomorphic
(self, other)¶ Return the bijection as a permutation if two lists are isomorphic, return False otherwise.
EXAMPLES:
sage: from sage.groups.perm_gps.partn_ref.refinement_lists import is_isomorphic sage: is_isomorphic([0,0,1],[1,0,0]) [1, 2, 0]