Function scal_subcol (o2scl_cblas)¶
-
template<class mat_t, class fp_t>
void o2scl_cblas::scal_subcol(mat_t &A, const size_t ir, const size_t ic, const size_t M, const fp_t alpha)¶ Compute \( x=\alpha x \) for a subcolumn of a matrix.
Given the matrix
A, define the vectorxas the column with indexic. This function computes \( x= \alpha x \) for elements in the vectorsxfrom rowirto row(inclusive). All other elements inxare not referenced.Used in householder_transform_subcol().