#16935: Faster palindromes function for the Words library
-------------------------------------+-------------------------------------
Reporter: nadialafreniere | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: combinatorics | Resolution:
Keywords: words, finite | Merged in:
words, palindromes | Reviewers:
Authors: Nadia Lafrenière | Work issues:
Report Upstream: N/A | Commit:
Branch: | def64a1a59757069be2840256a41dbc5951d5e07
u/nadialafreniere/16935 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by slabbe):
14. I do not get why there is an odd and even case. What is the definition
of {{{the length of the longest palindrome centered at a given position
j}}}?
I think that `j` should be a rational number `0<= j < w.length()` such
that `2j` is an integer. Like `j=2.5` could be valid. This idea comes from
the fact that a word w is symmetric if `w[i]=w[2a-i]` for all indices i
and for some value a where 2a is an integer.
--
Ticket URL: <http://trac.sagemath.org/ticket/16935#comment:13>
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.