Function dscal_subcol (o2scl_cblas)¶
-
template<class mat_t>
void o2scl_cblas::dscal_subcol(mat_t &A, const size_t ir, const size_t ic, const size_t M, const double 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().