num::kernel::dot2¶
Defined in header <kernel/vector.hpp>
template <std::floating_point T>
dot2_result<T> dot2(const T *x, const T *y, const T *z, idx n) noexcept;
Compute two dot products in one pass: \((x^T y,\ x^T z)\).
Defined in header <kernel/vector.hpp>
template <std::floating_point T>
dot2_result<T> dot2(const T *x, const T *y, const T *z, idx n) noexcept;
Compute two dot products in one pass: \((x^T y,\ x^T z)\).