Just to follow up, I've made this simple change and everything *appears* to be working fine. I haven't gone through the lambdify code in depth-- are there any unforeseen consequences?
I also noticed that lambdify doesn't like symbols with "prime" notations-- the single quote seems to mess something up. tp=symbols("t'") #works fine in most places, but lambdify chokes Cheers-- Greg On Monday, February 25, 2013 12:53:38 AM UTC-8, G B wrote: > > I went and tried to lamdify an expression with a Mod operator using the > "numpy" module, and it didn't like it. Is fixing this as easy as adding > "Mod":"mod", > to the NUMPY_TRANSLATIONS dictionary in utilities/lambdify.py? > > I just discovered lambdify, and now I can't stop using it for > everything... I'd had my own implementation using a hacked together > sequence of substitutions, solves and closures, but this is much more > satisfying! > > Thanks-- > Greg > > -- 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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.