Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Combinatorial) Free modules: cleanup, abstraction into categories, and functorial constructions #6136

Closed
nthiery opened this issue May 27, 2009 · 12 comments

Comments

@nthiery
Copy link
Contributor

nthiery commented May 27, 2009

  • 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://trac.sagemath.org/sage_trac/wiki/CategoriesRoadMap.

CC: @sagetrac-sage-combinat

Component: algebra

Keywords: free modules, tensor, direct sum

Author: Nicolas M. Thiéry

Reviewer: Florent Hivert

Merged: sage-4.3.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/6136

@nthiery nthiery added this to the sage-4.3 milestone May 27, 2009
@nthiery nthiery self-assigned this May 27, 2009
@nthiery

This comment has been minimized.

@nthiery
Copy link
Contributor Author

nthiery commented Oct 23, 2009

Attachment: categories-freemodule-6136-nt.patch.gz

@nthiery
Copy link
Contributor Author

nthiery commented Oct 24, 2009

Reviewer: Florent Hivert

@nthiery
Copy link
Contributor Author

nthiery commented Oct 24, 2009

Author: Nicolas M. Thiéry

@nthiery

This comment has been minimized.

@nthiery
Copy link
Contributor Author

nthiery commented Nov 4, 2009

Attachment: trac_6136-categories-freemodule-nt.patch.gz

Adds TestSuite.run call, and implements equality for PoorManMap's. Apply only this one.

@hivert
Copy link

hivert commented Nov 6, 2009

Last version of the file from combinat patch server.

@hivert
Copy link

hivert commented Nov 6, 2009

comment:3

Attachment: trac_6136-categories-freemodule-nt.2.patch.gz

@hivert
Copy link

hivert commented Nov 6, 2009

comment:4

Apply only the last patch trac_6136-categories-freemodule-nt.2.patch

Note: it breaks some doctests which are corrected in #6137 (See http://sagetrac.org/sage_trac/wiki/CategoriesRoadMap)

Ready to go.

Cheers,

Florent

@hivert
Copy link

hivert commented Nov 6, 2009

Attachment: trac_6136-categories-freemodule-nt.3.patch.gz

Correct version

@mwhansen
Copy link
Contributor

Merged: sage-4.3.alpha0

@sagetrac-ltw

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants