Function flechasdb::linalg::norm2_naive

source ·
pub fn norm2_naive<T>(xs: &[T]) -> Twhere
    T: Sqrt + Zero + AddAssign + Mul<Output = T> + Copy,
Expand description

Calculates the Euclidean norm of a given vector.