Function daxpy_subcol (o2scl_cblas)¶
-
template<class mat_t, class vec_t>
void o2scl_cblas::daxpy_subcol(const double alpha, const size_t M, const mat_t &X, const size_t ir, const size_t ic, vec_t &y)¶ Compute \( y=\alpha x+y \) for a subcolumn of a matrix.
Given the matrix
X
, define the vectorx
as the column with indexic
. This function computes \( y=\alpha x+y \) for elements in the vectorsx
andy
from rowir
to row(inclusive). All other elements in
x
andy
are not referenced.Used in householder_hv_sub().