They are the same. I was just suggesting x**y over pow(x, y). Mostly because that's my aesthetic preference. Feel free to ignore.
By googling unicode_escape_decode() takes no arguments I run into a stackoverflow question that references using Python from F# so I'm going to guess that this is more of an IronPython than a SymPy problem. My guess is that your other issue boils down to this as well. It looks like IronPython doesn't naturally expand iterators (it mentions dictionary-itemgetter) when used with the * operator. Question to the community, should we endeavor to support IronPython in the same way that we support CPython 2, 3, and PyPy? Question to Andy, do you have a sense of how big the IronPython community that might use SymPy is? This is probably important information to answer the previous question. Regarding your integrand. d is 4x. In the SymPy code you square this giving 16x^2 within the integrand. In the link you posted you're only squaring x, not 4x, and so you get 4*x^2. -Matt On Sat, Apr 5, 2014 at 11:18 AM, Groover <[email protected]> wrote: > I thought that x**y and the built-in pow(x, y) were the same? Can you > please clarify for me how my python integrand is different, as I am a bit > unsure. Thanks. > > Andy > > > On Saturday, April 5, 2014 4:40:35 PM UTC+1, Matthew wrote: >> >> Also, feel free to use x**2 rather than pow(x, 2) . Your integrand here >> is not the same as what you put in to the integral calculator. >> > -- > 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/7cc62e0c-898f-40aa-982b-97231b9f5140%40googlegroups.com<https://groups.google.com/d/msgid/sympy/7cc62e0c-898f-40aa-982b-97231b9f5140%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJ8oX-FLA5AT8_K7dOr97zATYMqJ9%2Bt0V7MoQWFBv3HBNWJzkQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
