Ticket #6136 (closed enhancement: fixed)
(Combinatorial) Free modules: cleanup, abstraction into categories, and functorial constructions
| Reported by: | nthiery | Owned by: | nthiery |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.3 |
| Component: | algebra | Keywords: | free modules, categories, tensor, direct sum |
| Cc: | sage-combinat | Author(s): | Nicolas M. Thiéry |
| Report Upstream: | Reviewer(s): | Florent Hivert | |
| Merged in: | sage-4.3.alpha0 | Work issues: |
Description (last modified by nthiery) (diff)
- Deprecates CombinatorialAlgebra?
- Abstracts some of the generic code into ModulesWithBasis?, Algebras, ...
- Implements the functorial constructions: tensor and cartesian product
- Stronger type checking, use UniqueRepresentation?
- Disabled dangerous conversions (see doc of _element_constructor), strict contains
- Naming cleanup: _term -> term, repr -> _repr_, _element_class -> element_class _combinatorial_class -> _basis_keys
- New methods: monomial, sum_of_terms, sum_of_monomials, term_or_zero_if_none, from_vector, _repr_term, _repr_option_bracket
- More interesting an_element, using heuristics
- Handle non sortable objects in repr
- Implements sage.categories.poor_man_map.PoorManMap? for maps between sets which are not modelled by parents.
- This is used to make term and sum_of_monomial into maps, with codomain and composition.
Depends on the category patches. See http://sagetrac.org/sage_trac/wiki/CategoriesRoadMap.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

