On Friday, August 20, 2021 at 3:58:00 AM UTC+9 Gregory Bard wrote:
> I'm so grateful that this issue of cube roots (and other real nth roots)
> has been solved so successfully. It's a huge help to those of us who
> teach calculus, and it's a good story to showcase the cooperative
> atmosphere
I'm so grateful that this issue of cube roots (and other real nth roots)
has been solved so successfully. It's a huge help to those of us who
teach calculus, and it's a good story to showcase the cooperative
atmosphere of community developed open-source software.
I'd like to thank those
Just want to thank Kwankyu for getting this on a proper branch. I've made
a few comments, and encourage anyone with feedback to do the same.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving
Hello, Sage Community!
I think the addition of a real_nth_root() function could be very
beneficial, specially in the teaching context, where using Sage with odd
roots of negative numbers implies the use of some programming tweaks. In my
case, I lost the count of how many times I forgot (in the
Hello, Sage Community!
I think the addition of a real_nth_root() function could be very
beneficial, specially in the teaching context, where using Sage with odd
roots of negative numbers implies the use of some programming tweaks. In my
case, I lost the count of how many times I forgot (in the
Dear Sage developers,
I'm currently working on a 2nd edition of my book *Sage for Undergraduates*,
which adds some new material but mostly updates the book to reflect syntax
changes in Sage since mid-2014, especially relating to the Python2 to
Python3
transition.
Some of you might remember a
I think we have a consensus that we should do *something* but unless I am
very much mistaken, the suggestion from Vincent Delecroix and Nils Bruin
that we make a symbolic function has advantages.
I was looking at Nils's code, but I have to confess that I don't understand
that code. Actually,
Hi Greg,
Hope the following code helps you in implementing your function:
from sage.symbolic.function import SymbolicFunction
class real_nth_root_class(SymbolicFunction):
def __init__(self):
SymbolicFunction.__init__(self, 'real_nth_root', nargs=2)
def _evalf_(self, x, n,
As Vincent and Niles have brought up, there might be advantages to it
being a symbolic function. How does one actually go about making that
happen? Is this an intrusive change, or an easy one? I really have no
idea...
---Greg
On Sun, Jun 22, 2014 at 5:00 PM, Vincent Delecroix
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
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
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
On 2014-06-22, Gregory Bard gregory.bard1...@gmail.com wrote:
Yes, that is reasonable. Let us call it real_nth_root instead, as
suggested by Nicolas Thiery. Any other requests/comments?
it's better talk about n-ic root rather than n-th root, IMHO.
It would be superb if this could be
As Niles already said it would be better to have it as a symbolic function
sage: f(x) = real_nth_root(x, 5)
sage: f
x |-- real_nth_root(x,5)
2014-06-22 22:36 UTC+02:00, Gregory Bard gregory.bard1...@gmail.com:
Yes, that is reasonable. Let us call it real_nth_root instead, as
suggested by
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
Note that there is already a method nth_root on several elements
(ZZ, finite fields, etc). So I would rather go for real_nth_root
which makes things clearer.
Vincent
2014-06-19 2:44 UTC+02:00, Nils Bruin nbr...@sfu.ca:
On Wednesday, June 18, 2014 2:37:21 AM UTC-4, Gregory Bard wrote:
This has
On Thursday, June 19, 2014 2:38:11 AM UTC-4, vdelecroix wrote:
Note that there is already a method nth_root on several elements
(ZZ, finite fields, etc). So I would rather go for real_nth_root
which makes things clearer.
Perhaps we can then just get away with a nth_root symbolic function
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
18 matches
Mail list logo