Changes between Version 11 and Version 12 of ShufflePatternLibrary


Ignore:
Timestamp:
Apr 29, 2014, 4:53:18 AM (5 years ago)
Author:
cameron
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ShufflePatternLibrary

    v11 v12  
    132132 
    133133
     134== Useful Functions ==
     135{{{
     136pattern_diff(P, m, k)
     137  [P[i + k] - P[i] for i in range(0, m-k)]
     138}}}
     139
     140{{{
     141circular_diff(P, m, k)
     142  [P[(i + k) mod m - P[i] for i in range(0, m-k)]
     143}}}
    134144
    135145== Standard Pattern Examples ==