Function axpy_subrow (o2scl_cblas)¶
-
template<class mat_t, class vec_t, class fp_t>
void o2scl_cblas::axpy_subrow(const fp_t alpha, const size_t N, const mat_t &X, const size_t ir, const size_t ic, vec_t &Y)¶ Compute \( y=\alpha x+y \) for a subrow of a matrix.
Given the matrix
X, define the vectorxas the row with indexir. This function computes \( y=\alpha x+y \) for elements in the vectorsxfrom columnicto column(inclusive). All other elements inxandyare not referenced.If
icis greater thanN-1then the error handler will be called ifO2SCL_NO_RANGE_CHECKis not defined.Used in householder_hv_sub().