Function euclidean
Source pub fn euclidean<T>(x: &ArrayView1<'_, T>, y: &ArrayView1<'_, T>) -> T
Expand description
Computes the Euclidean distance between two vectors.
§Arguments
x - A 1-dimensional array view of type T.
y - Another 1-dimensional array view of type T.
§Returns
The Euclidean distance between x and y, of type T.
§Panics
This function will panic if the input arrays do not have the same length.