Function daxpy_subvec (o2scl_cblas)¶
-
template<class vec_t, class vec2_t>
void o2scl_cblas::daxpy_subvec(const double 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 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.