#18044: Implement categories for super algebras/modules
---------------------------+------------------------------------
   Reporter:  tscrim       |            Owner:  tscrim
       Type:  enhancement  |           Status:  new
   Priority:  major        |        Milestone:  sage-6.6
  Component:  categories   |         Keywords:  super
  Merged in:               |          Authors:  Travis Scrimshaw
  Reviewers:               |  Report Upstream:  N/A
Work issues:               |           Branch:
     Commit:               |     Dependencies:
   Stopgaps:               |
---------------------------+------------------------------------
 After some design discussion, a proposal for an implementation is to be a
 subcategory of `Graded` algebras/modules whose default even/odd considers
 the given grading as being `ZZ / 2 ZZ` compatible. Thus it will have the
 following methods:

 - `is_even()`
 - `is_odd()`
 - `is_even_odd()`

 The API will be the user defines a `degree` method which is then called by
 `is_even_odd()` and taken mod 2. Therefore if the user wants to have a
 special grading group, then the user can override `is_even_odd()` to
 translate that into 0 or 1. The hook of `is_even_odd` also allows the user
 to change the super behavior away from the grading group (which will get
 used in #17096).

--
Ticket URL: <http://trac.sagemath.org/ticket/18044>
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