finesse.symbols.Symbol.to_nary_add_mul

Symbol.to_nary_add_mul()[source]

Converts a symbolic expression to use n-ary forms of operator_add and operator_mul operators, rather than the binary-ary operator.add and operator.mul.

Returns
Symbol