On Thursday, February 26, 2015 at 10:54:27 AM UTC-7, Jason Moore wrote:
>
> Also this one isn't obvious:
>
> In [21]: print sympy.ccode(sympy.symbols('x')**2, user_functions={"Pow": 
> "std::pow"})
> std::pow(x, 2)
>

Interestingly, this line of code still prints pow(x,2) for me.  May be a 
different in Sympy version?  I am using 0.7.5.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/fa8762b6-04b1-4c9d-92fc-0a99b7935711%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to