uniqueness-periods-vector-0.1.0.0: Generalization of the uniqueness-periods and uniqueness-periods-general packages functionality.

Copyright(c) OleksandrZhabenko 2020
LicenseMIT
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

String.Languages.UniquenessPeriods.Vector

Description

Maintainer : olexandr543@yahoo.com

Generalization of the uniqueness-periods and uniqueness-periods-general packages functionality.

Synopsis

Documentation

uniquenessPeriodsVector1 :: Eq a => Bool -> [a] -> Vector a -> UniquenessGeneral2 a Source #

List of Int in the result is a list of indexes for the occurrences of the value of the a (usually, a is a sound representation or its duration). The first Bool argument defines whether to apply the filtering for not informative (possibly) "whitespace symbols" given as the second argument list. The resulting Vector is sorted in the order of the first occurrence of each of the a (usually, a is the sound representation, or its duration, or some other its characteristics) in the given third argument.

uniquenessPeriodsVector2 :: Eq a => Bool -> [a] -> Vector a -> UniquenessGeneral2 a Source #

List of Int in the result is a list of distances between the consequential occurrences of the a (usually, a is a sound representation or its duration) in the given Vector. The first Bool argument defines whether to apply the filtering for not informative (possibly) "whitespace symbols" given as the second argument list. The resulting Vector is sorted in the order of the first occurrence of each of the a (usually, a is the sound representation or its duration, or some other its characteristics) in the given third argument.