Code Monkey home page Code Monkey logo

Comments (5)

ncalexan avatar ncalexan commented on August 22, 2024
comment:3

Added doctest to sage/modular/modsym/subspace.py exposing related bug. As of 2.1.5, does not pass.

from sage.

williamstein avatar williamstein commented on August 22, 2024
comment:4

This throws notimplemented error now. The problem is that actually implementing this in general efficiently is hard. Because it's now a not implemented error, I've changed this to an enhancement.

from sage.

sagetrac-mabshoff avatar sagetrac-mabshoff commented on August 22, 2024
comment:5

This is still a problem with Sage 2.8.2:

----------------------------------------------------------------------
| SAGE Version 2.8.2, Release Date: 2007-08-22                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: M = ModularSymbols(Gamma0(22),2,sign=1)
sage: M1 = M.decomposition()[1]
sage: M1
Modular Symbols subspace of dimension 3 of Modular Symbols space of dimension 5 for Gamma_0(22) of weight 2 with sign 1 over Rational Field
sage: M1.is_simple()
---------------------------------------------------------------------------
<type 'exceptions.NotImplementedError'>   Traceback (most recent call last)

/tmp/Work2/sage-2.8.2/<ipython console> in <module>()

/tmp/Work2/sage-2.8.2/local/lib/python2.5/site-packages/sage/modular/modsym/space.py in is_simple(self)
    234             return self._is_simple
    235         except AttributeError:
--> 236             D = self.factorization()
    237             if len(D) == 0 or len(D) == 1 and D[0][1] == 1:
    238                 self._is_simple = True

/tmp/Work2/sage-2.8.2/local/lib/python2.5/site-packages/sage/modular/modsym/subspace.py in factorization(self)
    197         if r != s:
    198             raise NotImplementedError, "modular symbols factorization not fully implemented yet --  self has dimension %s, but sum of dimensions of factors is %s"%(
--> 199             r, s)
    200         self._factorization = sage.structure.factorization.Factorization(D, cr=True)
    201         return self._factorization

<type 'exceptions.NotImplementedError'>: modular symbols factorization not fully implemented yet --  self has dimension 3, but sum of dimensions of factors is 2
sage:    

Maybe something worth fixing during the next bug day.

Cheers,

Michael

from sage.

aghitza avatar aghitza commented on August 22, 2024
comment:9

This, as well as the other cases listed in Craig's post, work for me in sage-3.0.alpha5.

I think this was fixed as a side effect of Craig's various fixes in the modular symbols code.

from sage.

sagetrac-mabshoff avatar sagetrac-mabshoff commented on August 22, 2024
comment:10

Fixed in Sage 3.0.rc0 due to patches by Creg Citro merged earlier in the 3.0 alpha cycle.

from sage.

Related Issues (20)

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.