Function scal_subvec (o2scl_cblas)

O2scl : Function List

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

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

This function is used in householder_transform().

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