VOOZH about

URL: https://www.geeksforgeeks.org/python/sympy-permutation-is_empty-in-python/

⇱ SymPy | Permutation.is_Empty() in Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SymPy | Permutation.is_Empty() in Python

Last Updated : 26 Aug, 2019
Permutation.is_Empty() : is_Empty() is a sympy Python library function that checks whether the permutation is a set with zero elements.
Syntax : sympy.combinatorics.permutations.Permutation.is_Empty() Return : true : if empty; otherwise false
Code #1 : is_Empty() Example Output :
Permutation a - is_Empty form : False Permutation b - is_Empty form : False
Code #2 : is_Empty() Example - 2D Permutation
Output :
Permutation a - is_Empty form : False
Comment
Article Tags:
Article Tags: