Skip to content

num::seq::axpby

Defined in header <container/vector_ops.hpp>

void axpby(real a, const vec<real> &x, real b, vec<real> &y) noexcept;

Scale and add (AXPBY): \(y \leftarrow a x + b y\).