pystencils.sympyextensions.math.normalize_product#
- pystencils.sympyextensions.math.normalize_product(product)#
Expects a sympy expression that can be interpreted as a product and returns a list of all factors.
Removes sp.Pow nodes that have integer exponent by representing them as single factors in list.