Function axpy_subvec (o2scl_cblas)

O2scl : Function List

template<class vec_t, class vec2_t, class fp_t>
void o2scl_cblas::axpy_subvec(const fp_t alpha, const size_t N, const vec_t &X, vec2_t &Y, const size_t ie)

Compute \( y=\alpha x+y \) beginning with index ie and ending with index N-1.

This function is used in o2scl_linalg::householder_hv().

If alpha is identical with zero or N==ie, this function will perform no calculations and return without calling the error handler.

If ie is greater than N-1 then the error handler will be called if O2SCL_NO_RANGE_CHECK is not defined.