pub fn l2_scalar<T: AsPrimitive<Output>, Output: Num + Copy + Sum + AddAssign + 'static, const LANES: usize>(
from: &[T],
to: &[T],
) -> Output
Expand description
Calculate the L2 distance between two vectors, using scalar operations.
It relies on LLVM for auto-vectorization and unrolling.
This is pub for test/benchmark only. use l2 instead.