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
Implement to_polynomial and from_polynomial methods for ModularFormsRing #32135
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
The method The method In the documentation of The method Instead of
you would better write
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Thank you very much for the comments! Considering the method |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:23
Currently polynomial conversion does not work over base ring other than Q mostly because of the method |
comment:24
It is fine for now. |
comment:25
I'm changing this to needs work because I will add input parsing for the element constructor (in order to check if the polynomial is a q-expansion). |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:28
Is this the expected behavior
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:30
Hello Vincent, Thank you for your comment, I changed a little bit the behavior of the code. What do you think? I'm all ears to any other ideas also. |
comment:31
Hi David, I don't like the fact that we rely on variable names to parse user input. What about using univariate (for q-expansion) versus multivariate (for generators)? Also, you sometimes use |
comment:32
(cleaner and tested) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:34
Replying to @videlec:
Thank you for your feedback! I decided to drop completely the case for a univariate polynomial. At first, I wanted the code to work even if the number of variables was less or equal to the number of generators, but it turned out to be confusing with q-expansion, so as you said it is better to stick with multivariate polynomials. I also added some details in the documentation in order to make it clearer for the user (is it?). For q-expansion, I think it will be better to stick with power series (and not univariate polynomial) instead in order to be consistent with the spaces of weighted modular forms:
Moreover, observe that we have the following behavior:
However, I do find the error message "can't initialize vector from nonzero non-list" not very explicit for the user (but that's an issue for an other ticket). |
comment:35
Good point. I agree that compatibility with modular forms come first. The interface there is reasonable, to specify zero leading coefficients you need the O(q^n). |
Changed branch from u/gh-DavidAyotte/modform_to_polynomials_generators to |
The goal of this ticket is to implement two methods: one for the class
GradedModularFormElement
and one for the classModularFormsRing
.to_polynomial
that will convert a graded form F into a polynomial P(X_1, X_2,... X_n) where the X_i correspond to the generators of the graded ring of modular forms in which F lives. Note that the result of this method is not unique in general.from_polynomial
that will convert a polynomial into a graded form:This ticket is part of #31560
Depends on #31559
CC: @videlec
Component: modular forms
Keywords: graded modular forms polynomials gsoc 2021
Author: David Ayotte
Branch/Commit:
2cdb21a
Reviewer: Vincent Delecroix
Issue created by migration from https://trac.sagemath.org/ticket/32135
The text was updated successfully, but these errors were encountered: