Skip to content

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;

Two inner products \((x^T y, x^T z)\) in one pass over \(x\).