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 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().