Function qrstep (o2scl_linalg)¶
-
template<class vec_t, class vec2_t, class mat_t, class mat2_t>
void o2scl_linalg::qrstep(size_t M, size_t N, size_t n, vec_t &d, vec2_t &f, mat_t &U, mat2_t &V)¶ Desc.
The vector
d
should be of sizen
, the vectorf
should be of sizen
, the matrix U should be of size(M,N)
, and the matrixV
should be of size(N,N)
.