Skip to content
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

Refactor for better reusability #2

Closed
nthiery opened this issue Jun 1, 2018 · 1 comment
Closed

Refactor for better reusability #2

nthiery opened this issue Jun 1, 2018 · 1 comment

Comments

@nthiery
Copy link
Owner

nthiery commented Jun 1, 2018

The code is entangled because too much is put on the shoulders of DiagonalPolynomialRing. Instead, we should refine the modelling of the problem and create independent parents and functions:

class DiagonalPolynomialRing:
    """
    The ring of diagonal polynomials in n x r variables + n x inert variables

    EXAMPLES::
   
        sage: DiagonalPolynomialRing(QQ, n, r, inert=0)

    """
    def young_idempotent(self, p, mu):
    def polarization(self, p, ...):
    ...

class DiagonalAntisymmetricPolynomials:
    """
    The subspace of diagonal polynomials that are antisymmetric w.r.t. certain variables

    Polynomials are represented by picking within each orbit of monomials a canonical one.
    """
    def from_polynomial(self, p):
          '''Create an element from a fully expanded antisymmetric polynomial'''
    def young_idempotent(self, p):
         ''''''
    def polarization()
          '''compute usual polarization and renormalize'''

def PolarizationSpace(P, generators, mu, r, use_symmetry=, verbose=, use_lie, use_commutativity???=):
    """
    Starting from  polynomials in the mu-isotypic component of the polynomial ring in one set of variables (possibly with additional inert variables), construct the space obtained by polarization.

    P: a diagonal polynomial ring (or assymmetric version)
    generators: polynomials in one set of variables (+inert) in the image of b_mu
    """

def harmonic_XXX(mu, n):
    '''construct a basis of the mu-isotypic component of harmonic polynomials in n variables through higher specht polynomials'''

def YYY(mu, nu, n):
    '''The analogue for Pauline's case'''

@nthiery
Copy link
Owner Author

nthiery commented Jun 1, 2018

cc: @phubert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants