#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):

 Is this a problem?
 {{{
 sage: A = GradedModulesWithBasis(ZZ).example()
 sage: A.homogeneous_component(3).an_element()   # not printed like
 elements of A
 3*B[[1, 1, 1]] + 3*B[[2, 1]] + B[[3]]
 sage: a = A.homogeneous_component(3).an_element()
 sage: a in A
 False
 }}}
 Also, `A(a)` leads to a `NotImplementedError`. So once you have an element
 in a homogeneous component, there isn't an obvious way to view it as an
 element of the whole module.

--
Ticket URL: <http://trac.sagemath.org/ticket/19397#comment:4>
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