-
-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coercions and basic arithmetic for complex balls #19063
Comments
Branch: u/mmezzarobba/19063-acb |
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
Changed keywords from none to arb |
Author: Marc Mezzarobba |
This comment has been minimized.
This comment has been minimized.
comment:6
I started reviewing this and just a few first comments ...
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/mmezzarobba/19063-acb to u/cheuberg/19063-acb |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
I have now reviewed this patch and added a few reviewer commits. Questions:
Apart from that, a few documentation issues:
|
Reviewer: Clemens Heuberger |
comment:11
Replying to @cheuberg:
Thanks!
Because I neglected to change it after changing the parent class. (I hate Python...)
It wasn't intentional.
The old version would return things like
The idea was to have a version that first converts its argument to a ball (and thus can accept a wide range of argument types), but may not recognize that the argument is contained in the other ball if the conversion is not precise enough, and a version for which a result of
Thanks. But note that the formal requirement of pointless INPUT/OUTPUT sections in docstrings is apparently going to be relaxed (#19041), so I'm not sure we need them INPUT sections every time you noted they were missing. |
comment:13
Replying to @mezzarobba:
If I remember correctly, there is some reason not to use
No strong feelings from my side; I was just wondering reading the code. For intervals containing the zero, it might indeed be strange.
I think that
I know; the question is what is obvious and what not. My feelings are not very strong here. |
Changed branch from u/cheuberg/19063-acb to u/mmezzarobba/19063-acb |
New commits:
|
comment:30
Replying to @mezzarobba:
For most practical purposes, the rounding or not is just an implementation detail. Personally, I would prefer to use just one method name (for example, I don't like that some types implement |
comment:31
By the way, I might be interesting in reviewing this ticket but only after the dependencies have been merged. |
comment:32
Replying to @mezzarobba:
There is no branch... |
Commit: |
Changed branch from u/mmezzarob/19063-acb to u/mmezzarobba/19063-acb |
comment:33
Replying to @jdemeyer:
Oops, now I understand. Thanks! Last 10 new commits:
|
Changed branch from u/mmezzarobba/19063-acb to u/cheuberg/19063-acb |
Changed commit from |
Changed branch from u/cheuberg/19063-acb to trac/u/mmezzarobba/19063-acb |
comment:37
replacing the branch by my version of the merge because I also rebased the follow-ups |
Changed branch from trac/u/mmezzarobba/19063-acb to u/mmezzarobba/19063-acb |
Commit: |
comment:39
content of both branches is equal. Thus back to positive. |
Changed branch from u/mmezzarobba/19063-acb to |
Implement field operations, basic complex number and ball methods (abs arg, conjugate, mid, rad...), and some conversions and coercions for complex balls. Also make a few changes to real balls for consistency.
Follow-up tickets: #19152, #19082.
Depends on #18546
CC: @cheuberg
Component: numerical
Keywords: arb
Author: Marc Mezzarobba, Clemens Heuberger
Branch/Commit:
fa41787
Reviewer: Clemens Heuberger, Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/19063
The text was updated successfully, but these errors were encountered: