Python中的SymPy Permutation.mul_inv()
Permutation.mul_inv() : mul_inv()是一个Sympy Python库函数,用于返回mul逆的other*~self,self和other有_array_form。
语法 : sympy.combinatorics.permutations.Permutation.mul_inv()
返回:mul inverse other*~self,self和other有_array_form。
代码 #1 : mul_inv() 示例
输出 :
Permutation a – mul_inv form : (3)
Permutation b – mul_inv form : (5)
代码#2:mul_inv()实例–二维排布
输出 :
Permutation a – mul_inv form : (6)