I translated all the mpmath ones to SymPy https://github.com/fredrik-johansson/314/pull/4. There are quite a few that don't work, so there's lots of room for improvement in SymPy's algorithms. I also found a few bugs (I opened issues in SymPy for the bugs, but I didn't open any issues for the things that just don't work, or functions that aren't implemented yet; if someone wants to do that feel free).
Someone ought to go in and add a bunch of ways of representing pi using SymPy's geometry module. Maybe the stats module as well, if there are any useful statistical representations of pi. Perhaps physics as well. I think there are also a lot of opportunities for the solvers, since the only ones that are there are sin(x) = 0 and cos(x/2) = 0. Aaron Meurer On Fri, Mar 11, 2016 at 4:06 PM, Aaron Meurer <[email protected]> wrote: > Fixed at https://github.com/sympy/sympy/pull/10799. > > Aaron Meurer > > On Fri, Mar 11, 2016 at 3:36 PM, Fredrik Johansson > <[email protected]> wrote: >> On Friday, March 11, 2016 at 9:15:34 PM UTC+1, Aaron Meurer wrote: >>> >>> SymPy gives I*pi for sqrt(-12*polylog(2,-1)). According to >>> >>> http://docs.sympy.org/latest/modules/functions/special.html#sympy.functions.special.zeta_functions.polylog, >>> polylog(s, -1) is the same as dirichlet_eta(s). The definitions for >>> polylog in the sympy and mpmath docs look the same, so is SymPy wrong >>> here, or am I missing something (WolframAlpha seems to agree with >>> mpmath)? >> >> >> It should be polylog(s,-1) = -dirichlet_eta(s). >> >> Fredrik >> >> -- >> 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 https://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/669f9afa-fbed-4002-aa77-f7f1cdbdec85%40googlegroups.com. >> >> 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6JthyvTfD%2ByfG_x0VAYvWf2Nr-GKKNs076uzMcW4Un4nQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
