num::kernel::dot_norm_sq¶
Defined in header <kernel/vector.hpp>
template <std::floating_point T>
dot_norm_result<T> dot_norm_sq(const T *x, const T *y, idx n) noexcept;
\(x^T y\) and \(\|y\|_2^2\) in one pass.
Defined in header <kernel/vector.hpp>
template <std::floating_point T>
dot_norm_result<T> dot_norm_sq(const T *x, const T *y, idx n) noexcept;
\(x^T y\) and \(\|y\|_2^2\) in one pass.