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;

Computes vector linear combination \(z_i \leftarrow a x_i + b y_i\).