distance_from_sorted

emlib.combinatorics.distance_from_sorted(seq, offset=0)[source]

Distance between seq and a sorted seq. of the same length

Return type:

int