def ccode(expr, assign_to=None, **settings):
 return CCodePrinter(settings).doprint(expr, assign_to)

def ccode ( expr , assign_to = None , ** settings ) : return CCodePrinter ( settings ) . doprint ( expr , assign_to )
converts an expr to a string of c code parameters expr : expr a sympy expression to be converted .