laurent_polynomial_to_tuples#
- laurent_polynomial_to_tuples(expr, var)#
Converts a SymPy Laurent polynomial expression into a list of tuples representation.
- Args:
expr (sympy.core.expr.Expr): The SymPy Laurent polynomial expression to convert. var (sympy.core.symbol.Symbol): The variable in the Laurent polynomial.
- Returns:
list of tuples: Each tuple represents a term in the polynomial as (coefficient, exponent).