Module distances

Module distances 

Source
Expand description

§Distance Metrics

This module defines the Distance enum for comparing vectors using different metrics. Depending on input size, computations use Rayon for parallelism.

§Panics

The compute method panics with a custom error if the input slices have different lengths or if a metric-specific parameter is invalid.

Enums§

Distance
Enum listing the available distance metrics.