Function qrstep_sub (o2scl_linalg)¶
-
template<class vec_t, class vec2_t, class mat_t, class mat2_t>
void o2scl_linalg::qrstep_sub(size_t M, size_t N, size_t n, vec_t &d, vec2_t &f, mat_t &U, mat2_t &V, size_t a)¶ A special form of qrstep() for SV_decomp()
The vector
dshould be of sizen, the vectorfshould be of sizen, the matrix U should be of size(M,n), and the matrixVshould be of size(N,n).A version of qrstep(), but starting at the a’th column of U, the a’th column of V, and the a’th entries of
dandf.This function is used by SV_decomp().