(self)
return min
The minimum element moved by the permutation.

        Examples
        ========

        >>> from sympy.combinatorics.permutations import Permutation
        >>> p = Permutation([0,1,4,3,2])
        >>> p.min()
        2

        See Also
        ========

        max, descents, ascents, inversions
The minimum element moved by the permutation.
The minimum element moved by the permutation .
def min(self):
        """
        The minimum element moved by the permutation.

        Examples
        ========

        >>> from sympy.combinatorics.permutations import Permutation
        >>> p = Permutation([0,1,4,3,2])
        >>> p.min()
        2

        See Also
        ========

        max, descents, ascents, inversions
        """
        a = self.array_form
        min = len(a)
        for i in range(len(a)):
            if a[i] != i and a[i] < min:
                min = a[i]
        return min
def min ( self ) : a = self . array_form min = len ( a ) for i in range ( len ( a ) ) : if a [ i ] != i and a [ i ] < min : min = a [ i ] return min