Skip to main content

num_similarities

Function num_similarities 

Source
pub fn num_similarities(target: &NoteHash, source: &NoteHash) -> usize
Expand description

How many of the values two hashes say alike: music21’s calculateNumSimilarities.

The target’s keys are what is counted over, each read off the source by name, as music21 reads it; a key the source has not got counts for nothing.