#15820: Implement sequences of bounded integers
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: algebra | Resolution:
Keywords: sequence bounded | Merged in:
integer | Reviewers: Simon King
Authors: Simon King, | Work issues:
Jeroen Demeyer | Commit:
Report Upstream: N/A | 6e03f19d4bc2379e44e0b8adc32c13ac6e0bcabb
Branch: | Stopgaps:
u/SimonKing/ticket/15820 |
Dependencies: #17195, #17196 |
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:313 SimonKing]:
> Currently, when calling `B.index(i)`, `i` is compared modulo the
`B.bound()` with the items of `B`. Taking `i` modulo the bound is
currently done in `biseq_index`. I suggest to move this to `B.index`
I would remove this modulo operation completely. If the item is too large
or too small, treat it as not found.
--
Ticket URL: <http://trac.sagemath.org/ticket/15820#comment:315>
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.