#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:  Jeroen Demeyer, Simon
        Authors:  Simon King,        |  King
  Jeroen Demeyer                     |  Work issues:  interrupt handling
Report Upstream:  N/A                |       Commit:
         Branch:                     |  63d2693eb4915632e3cb806730a4eb56dc26008e
  u/SimonKing/ticket/15820           |     Stopgaps:
   Dependencies:  #17195, #17196     |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Replying to [comment:354 SimonKing]:
 > What do you think about the name `biseq_start_of_overlap`, and switching
 back to the old rĂ´le of the arguments (i.e., we search for the smallest
 possible start index of a terminal segment of S1 that coincides with an
 initial segment of S2)?

 Well, the thing that bothered me most about the old `biseq_max_overlap`
 function was the implicit start index of 1, which is unexpected (why 1?)
 and couldn't be changed (unlike `biseq_contains`).

 I changed the names and ordering of the arguments to make it more clear
 that `biseq_contains` and `biseq_reverse_contains` are in fact very
 similar: the first finds `i` such that `S1[i:]` starts with `S2`, the
 second finds `i` such that `S1` starts with `S2[i:]`.

 I'm certainly open for changes, I just would like the functions to be as
 intuitive as possible for people ''not knowing about your application of
 quiver algebras''. For example, the word "overlap" doesn't mean anything
 to me when you talk just about sequences of integers.

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