Distances

Types

Functions

SeqSpace.PointCloud.Distances.euclideanMethod
euclidean(X)

Compute the pairwise distances between points X according to the Euclidean metric. Assumes X is sized $d \times N$ where $d$ and $N$ denote dimensionality and cardinality respectively.

SeqSpace.PointCloud.Distances.euclidean²Method
euclidean²(X)

Compute the pairwise squared distances between points X according to the Euclidean metric. Assumes X is sized $d \times N$ where $d$ and $N$ denote dimensionality and cardinality respectively.

SeqSpace.PointCloud.Distances.jensen_shannonMethod
jensen_shannon(P)

Compute the pairwise distances between probability distributions P according to the Jensen-Shannon divergence. Assumes P is sized $d \times N$ where $d$ and $N$ denote dimensionality and cardinality respectively.