Function householder_transform_subcol (o2scl_linalg)¶
-
template<class mat_t>
double o2scl_linalg::householder_transform_subcol(mat_t &A, const size_t ir, const size_t ic, const size_t M)¶ Compute the Householder transform of a vector formed with
n
rows of a column of a matrix.This performs a Householder transform of a vector defined by a column of a matrix
A
which starts at elementA(ir,ic)
and ends at elementA(M-1,ic)
. IfM-1
is equal toir+1
, this function quietly does nothing.Used in QR_decomp() and SV_decomp_mod().