finesse.symbols.Symbol.to_binary_add_mul

Symbol.to_binary_add_mul()[source]

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

Returns
Symbol