Function svd2 (o2scl_linalg)¶
-
template<class vec_t, class vec2_t, class mat_t, class mat2_t>
void o2scl_linalg::svd2(size_t M, size_t N, vec_t &d, vec2_t &f, mat_t &U, mat2_t &V)¶ 2-variable SVD
The parameter
M
is the number of rows inU
andN
is the number of rows inV
. Both U and V assumed to have two columns.Used in qrstep().