On Wednesday, June 18, 2014 2:37:21 AM UTC-4, Gregory Bard wrote:
>
> This has been brought up many times before, but I'd like to bring up
> the possibility of adding two commands to Sage: cuberoot(x) and
> nthroot(x, n)
>
+1 for nthroot. Once we have that, I don't think we need cuberoot. The 
function should only accept (positive?) integer arguments n. For even n it 
could have the usual behaviour, for odd n it could do the sign thing. It's 
possibly nicer to implement it as a symbolic function with custom numerical 
evaluation rather than a python function that produces a relatively cryptic 
symbolic expression. It should be documented as the "real-valued n-th root 
of real-valued expressions".

Please look whether we should have nthroot(n,x) or nthroot(x,n), or perhaps 
even nthroot[n](x) [I hope not]. 

-- 
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.

Reply via email to