The following three methods in the Permutation class don't seem to work:
foata_bijection_inverse()
fundamental_transformation()
fundamental_transformation_inverse()

Here is an example:

sage: S = Permutations(3)
sage: S[0].foata_bijection()
[1, 2, 3]
sage: S[0].foata_bijection_inverse()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-31-c8ef4d7624be> in <module>()
----> 1 S[Integer(0)].foata_bijection_inverse()

/Applications/SageMath/src/sage/structure/element.pyx in 
sage.structure.element.Element.__getattr__ 
(/Applications/SageMath/src/build/cythonized/sage/structure/element.c:4649)()
    411             dummy_error_message.name = name
    412             raise dummy_attribute_error
--> 413         return getattr_from_other_class(self, 
P._abstract_element_class, name)
    414 
    415     def __dir__(self):

/Applications/SageMath/src/sage/structure/misc.pyx in 
sage.structure.misc.getattr_from_other_class 
(/Applications/SageMath/src/build/cythonized/sage/structure/misc.c:1763)()
    251         dummy_error_message.cls = type(self)
    252         dummy_error_message.name = name
--> 253         raise dummy_attribute_error
    254     try:
    255         attribute = getattr(cls, name)

AttributeError: 'StandardPermutations_n_with_category.element_class' object 
has no attribute 'foata_bijection_inverse'

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to