Skip to content

num::kernel::axpbyz

Defined in header <kernel/vector.hpp>

template <std::floating_point T>
void axpbyz(T *z, const T *x, const T *y, T a, T b, idx n) noexcept;

Form a linear combination of two vectors: \(z \leftarrow a x + b y\).