#19397: Add support for homogeneous components of a filtered module
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  sage-combinat
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/categories/homogeneous_components-19397|  
ae81aa7c64064ba8de5598aa01210efac57088c9
   Dependencies:  #17096             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jhpalmieri):

 For this situation, what about code like
 {{{
 try:
     R = self.base_ring().homogeneous_component(0)
     # or R = self.base_ring().base_ring()??
 except AttributeError:
     R = self.base_ring()
 category = ModulesWithBasis(self.category().R)
 }}}
 This may end up calling `homogeneous_component` recursively, but
 eventually that should end with an ungraded base ring.

 Yes, I also agree that we need to allow for multiple possible gradings. I
 think this has been discussed before. To construct a graded ring you
 should specify a ring and a grading on it, and different gradings give
 different graded rings.

--
Ticket URL: <http://trac.sagemath.org/ticket/19397#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to