Giter Club home page Giter Club logo

harmonic-modules's People

Contributors

nthiery avatar phubert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

klashxx

harmonic-modules's Issues

Split the code in submodules

Split the code into following Python modules:

  • utilities.pyx # Misc utilities that should go into Sage
  • funcpersist.py
  • combinatorics.py?
  • subspace.py
  • diagonal_polynomial_ring.py
  • diagonal_polynomial_ring_utils.pyx

Keep code.py that just loads all the others, so that one can still load everything in the notebook for basic usage.
cc @phubert

Refactor for better reusability

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'''

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.