Template Function rcppsw::math::l2norm

Function Documentation

template<typename T, typename std::enable_if<rmpl::is_detected<detail::length_func_decltype, T>::value, int>::type = 0>
static inline double rcppsw::math::l2norm(const T &lhs, const T &rhs)

Computes the euclidean distance between the passed vectors.