Yes, that is reasonable. Let us call it "real_nth_root" instead, as suggested by Nicolas Thiery. Any other requests/comments?
It would be superb if this could be resolved by June 30th, when my book goes to the American Mathematical Society for publication... ---Greg On Sun, Jun 22, 2014 at 9:02 AM, William Stein <wst...@gmail.com> wrote: > On Sun, Jun 22, 2014 at 8:27 AM, Nicolas M. Thiery > <nicolas.thi...@u-psud.fr> wrote: >> On Fri, Jun 20, 2014 at 06:33:52PM -0700, Gregory Bard wrote: >>> It seems that the consensus on both Sage-devel and Sage-edu is to go >>> with some sort of nth_real_root function. I propose the following, >>> which I have tested for evaluation, plotting, differentiation, and >>> integration. Sadly, the derivative has a Dirac delta in it, which is >>> ... perhaps unavoidable because of the vertical tangency of the >>> cuberoot function at x=0. (Naturally, we can remove the asserts once >>> testing is completed. >>> ---Greg >>> >>> def nth_real_root( x, n ): >> >> Just 2 cents of outsider feedback since I have not followed the >> discussion, and am not knowledgeable on the topic. This names suggests >> to me that we look at all the real roots of n (for whatever this >> means), and then take the n-th one. So maybe real_nth_root instead? > > +1 > >> >> Cheers, >> Nicolas >> -- >> Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> >> http://Nicolas.Thiery.name/ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-devel" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sage-devel+unsubscr...@googlegroups.com. >> To post to this group, send email to sage-devel@googlegroups.com. >> Visit this group at http://groups.google.com/group/sage-devel. >> For more options, visit https://groups.google.com/d/optout. > > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org > > -- > You received this message because you are subscribed to a topic in the Google > Groups "sage-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-devel/Q8VLKBypcJk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.