Function asum_subcol (o2scl_cblas)

O2scl : Function List

template<class mat_t, class fp_t>
fp_t o2scl_cblas::asum_subcol(mat_t &A, const size_t ir, const size_t ic, const size_t M)

Compute \( x=\alpha x \) for a subcolumn of a matrix.

Given the matrix A, define the vector x as the column with index ic. This function computes \( x= \alpha x \) for elements in the vectors x from row ir to row (inclusive). All other elements in x are not referenced.

Used in householder_transform_subcol().