Finds the Euclidean distance between points, if distance is above the threshold, abandons the computation and returns NAN.
1 | early_abandoned_dist(seq1, seq2, upper_limit)
|
seq1 |
the array 1. |
seq2 |
the array 2. |
upper_limit |
the max value after reaching which the distance computation stops and the NAN is returned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.