Function axpy_subvec (o2scl_cblas)¶
-
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 indexN-1
.This function is used in o2scl_linalg::householder_hv().
If
alpha
is identical with zero orN==ie
, this function will perform no calculations and return without calling the error handler.If
ie
is greater thanN-1
then the error handler will be called ifO2SCL_NO_RANGE_CHECK
is not defined.