Python | SymPy combinatorics.conjugate() method Last Updated : 14 Aug, 2024 Comments Improve Suggest changes Like Article Like Report With the help of sympy.combinatorics.partitions.IntegerPartition().conjugate method, we can get the conjugate value of integer array passed as parameter in the sympy.combinatorics.partitions.IntegerPartition() method. Syntax : sympy.combinatorics.partitions.IntegerPartition().conjugateReturn : Return the conjugate value of integer array. Example #1 : In this example we can see that by using sympy.combinatorics.partitions.IntegerPartition().conjugate method, we are able to get the conjugate value of array passed as a parameter. Python3 1=1 # import sympy and IntegerPartition from sympy.combinatorics.partitions import IntegerPartition from sympy import * # Using sympy.combinatorics.partitions.IntegerPartition().conjugate method gfg = IntegerPartition([1, 2, 3]) print(gfg.conjugate) Output : [3, 2, 1] Example #2 : Python3 1=1 # import sympy and IntegerPartition from sympy.combinatorics.partitions import IntegerPartition from sympy import * # Using sympy.combinatorics.partitions.IntegerPartition().conjugate method gfg = IntegerPartition([1, 2, 3, 4, 3, 2, 1]) print(gfg.conjugate) Output : [7, 5, 3, 1] Comment More infoAdvertise with us Next Article Python | SymPy combinatorics.conjugate() method J jitender_1998 Follow Improve Article Tags : Python SymPy Practice Tags : python Similar Reads Python | SymPy combinatorics.prev_lex() method With the help of sympy.combinatorics.partitions.IntegerPartition().prev_lex() method, we can get the previous partition of integer n in lexical order by using sympy.combinatorics.partitions.IntegerPartition().prev_lex() method. Syntax : sympy.combinatorics.partitions.IntegerPartition().prev_lex() Re 1 min read Python | SymPy combinatorics.next_lex() method With the help of sympy.combinatorics.partitions.IntegerPartition().next_lex() method, we can get the next partition of integer n in lexical order by using sympy.combinatorics.partitions.IntegerPartition().next_lex() method. Syntax : sympy.combinatorics.partitions.IntegerPartition().next_lex() Return 1 min read Python | sympy.binomial() method With the help of sympy.binomial() method, we can find the number of ways to choose k items from a set of n distinct items. It is also often written as nCk, and is pronounced ân choose kâ. \begin{equation} \binom{N}{k} \end{equation} Syntax: binomial(N, K) Parameters: N - It denotes the number of ite 1 min read Python | sympy.factor_list() method With the help of sympy.factor_list() method, we can get a list of factors of a mathematical expression in SymPy in the form of (factor, power) tuple. Syntax: factor_list(expression) Parameters: expression - It is a mathematical expression. Returns: Returns a list of factors of the given mathematical 2 min read Python | sympy as_dict() method With the help of sympy.combinatorics.IntegerPartition().as_dict() method, we can get the dictionary of integer elements from subarrays along with it's coefficient values by using sympy.combinatorics.IntegerPartition().as_dict() method. Syntax : sympy.combinatorics.IntegerPartition().as_dict() Return 1 min read Like