num::axpy¶
Defined in header <container/vector_ops.hpp>
void axpy(real alpha, const vec<real> &x, vec<real> &y) noexcept; // (1)
void axpy(cplx alpha, const vec<cplx> &x, vec<cplx> &y) noexcept; // (2)
\(y \leftarrow y + \alpha x\), through the build's default backend.