Function scal_subvec (o2scl_cblas)¶
-
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
ieand ending with indexN-1.This function is used in o2scl_linalg::householder_transform().
If
ieis greater thanN-1then the error handler will be called ifO2SCL_NO_RANGE_CHECKis not defined.