Function asum_subcol (o2scl_cblas)¶
-
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 vectorx
as the column with indexic
. This function computes \( x= \alpha x \) for elements in the vectorsx
from rowir
to row(inclusive). All other elements in
x
are not referenced.Used in householder_transform_subcol().