I do not know. What is x^(2/pi)?
From: [email protected] <[email protected]> On Behalf Of Paul Royik Sent: Wednesday, December 11, 2024 10:37 PM To: sympy <[email protected]> Subject: Re: [sympy] Real-valued root What is x^(3/5)? On Wednesday, December 11, 2024 at 11:36:20 PM UTC+2 [email protected] <mailto:[email protected]> wrote: If I put it as (x^2)^(1/5) it works fine. From: [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]> > On Behalf Of Paul Royik Sent: Wednesday, December 11, 2024 8:15 PM To: sympy <[email protected] <mailto:[email protected]> > Subject: [sympy] Real-valued root I try to use the bridge between sympy and numpy, namely, the lambdify function. It looks ok, but there is an issue when I try to calculate the values of x^(2/5) on the interval [-5,5]. Of course, for negative x, the value is nan, because, I guess, the root is not real-valued. How to make it real-valued? Thank you. -- 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] <mailto:[email protected]> . To view this discussion visit https://groups.google.com/d/msgid/sympy/02b3834f-d2ba-4767-a28e-4b6ae1355906n%40googlegroups.com <https://groups.google.com/d/msgid/sympy/02b3834f-d2ba-4767-a28e-4b6ae1355906n%40googlegroups.com?utm_medium=email&utm_source=footer> . -- 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] <mailto:[email protected]> . To view this discussion visit https://groups.google.com/d/msgid/sympy/f074e2b9-28a4-4ce0-8208-996d67a1aac2n%40googlegroups.com <https://groups.google.com/d/msgid/sympy/f074e2b9-28a4-4ce0-8208-996d67a1aac2n%40googlegroups.com?utm_medium=email&utm_source=footer> . -- 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 view this discussion visit https://groups.google.com/d/msgid/sympy/008401db4c15%24ee8a8040%24cb9f80c0%24%40gmail.com.
