6 cse_results = sympy.cse(symbols, sympy.numbered_symbols(
"c"))
8 for helper
in cse_results[0]:
9 output.write(
"Scalar const ")
10 output.write(sympy.printing.ccode(helper[1], helper[0]))
12 assert len(cse_results[1]) == 1
14 output.write(sympy.printing.ccode(cse_results[1][0],
"result"))