Re: [sympy] Re: bug in lambdify functionality with trigonometric functions?

2015-01-13 Thread Aaron Meurer
Or it's possible that you meant to do lambdify((x, y), x*cos(y)) to create a two-argument function. Aaron Meurer On Sat, Jan 10, 2015 at 3:44 PM, James Crist crist...@umn.edu wrote: `lambdify` is intended for numeric evaluation (but can be made to evaluate symbolically). By default, the

[sympy] Re: bug in lambdify functionality with trigonometric functions?

2015-01-10 Thread James Crist
`lambdify` is intended for numeric evaluation (but can be made to evaluate symbolically). By default, the functions `sin`, `cos`, etc... are pulled from `math` or `numpy`, which expect floats (and if not given a float, they attempt to convert to float). What's happening here, is you're passing