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
generic log/exp for univariate polynomials #28592
Comments
Branch: u/vdelecroix/28592 |
New commits:
|
Commit: |
comment:2
What is the advantage compared to the existing
? |
comment:3
|
comment:4
Thanks Mark for the pointer. I just quickly implemented that because I needed it! I should rather backport what is in power series (ODE integration). |
comment:5
The |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:8
Thank you for the implementation!
Replying to @videlec:
FWIW, one way to compute sin/cos without code for solving ODEs of order two is via 1/(1+t²) → arctan → tan → tan²/2. |
comment:9
Replying to @mezzarobba: Thanks for the feedback!
I have a question about this. There is the class function
Fine. It will make the code faster :-)
This gives you arctan and tan. But how do you extract cos/sin from there? |
comment:10
The implementation fails for non-commutative base rings
Is there a way to fix it or should I forbid non-commutative base rings? |
comment:11
Replying to @videlec:
This is not the same operation. There is a shift in the degree with |
comment:12
Replying to @videlec:
Note that the naive series expansion that I initially wrote work for non-commutative rings! |
comment:13
Replying to @videlec:
... modulo #28610 |
comment:14
Last question: the following is kind of wrong
as the answer belongs to |
comment:16
Needs review again! Now one can take logarithm over |
comment:19
Boils down to
|
comment:20
which boils down to
|
comment:21
Replying to @videlec:
I meant tan(z/2) in the last step, sorry; and then sin and cos using the rational parametrisation of the circle. |
comment:22
Replying to @videlec:
Is there?
|
comment:23
Replying to @videlec:
Hmm, right, I hadn't thought of that.
I don't know, sorry. |
Dependencies: #28618 |
comment:24
Replying to @videlec:
Opened #28618... |
comment:25
Ticket retargeted after milestone closed |
comment:26
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date. |
comment:28
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
comment:29
Setting a new milestone for this ticket based on a cursory review. |
We implement generic
_log_series
and_exp_series
on univariate polynomials.Depends on #28618
CC: @mezzarobba
Component: algebra
Author: Vincent Delecroix
Branch/Commit: u/vdelecroix/28592 @
1475df1
Issue created by migration from https://trac.sagemath.org/ticket/28592
The text was updated successfully, but these errors were encountered: