#15820: Implement sequences of bounded integers
--------------------------------------------+------------------------
       Reporter:  SimonKing                 |        Owner:
           Type:  enhancement               |       Status:  new
       Priority:  major                     |    Milestone:  sage-6.2
      Component:  algebra                   |   Resolution:
       Keywords:  sequence bounded integer  |    Merged in:
        Authors:                            |    Reviewers:
Report Upstream:  N/A                       |  Work issues:
         Branch:                            |       Commit:
   Dependencies:                            |     Stopgaps:
--------------------------------------------+------------------------

Comment (by SimonKing):

 I just had a look at `ClonableElement`, and one immediate thought is: Why
 are C-pointers allocated in `__init__`? That's clearly the purpose of
 `__cinit__`, in particular if said C-pointers are freed in `__dealloc__`.

 Do we want to have sequences of bounded integers for use in Python? Then
 one possible way would be:

 - have some inline cdef functions that operate on certain (templated?) C
 data structures
 - use these in a sub-class of `ClonableElement` (so that we can have
 sequences of bounded integers used in python)
 - use these in a `Path` class, to be used in path semigroups.

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