Function dot_subcol (o2scl_cblas)¶
-
template<class mat_t, class vec_t, class fp_t>
fp_t o2scl_cblas::dot_subcol(const size_t M, const mat_t &X, const size_t ir, const size_t ic, const vec_t &y)¶ Compute \( r=x \cdot y \) for a subcolumn of a matrix.
Given the matrix
X, define the vectorxas the column with indexic. This function computes \( r=x \cdot y \) for elements in the vectorsxandyfrom rowirto row(inclusive). All other elements inxandyare not referenced.Used in householder_hv_sub().