|
| template<typename Accumulator = void, FieldMatrix M> |
| int | mtl::qr_factor (M &A, vec::dense_vector< typename M::value_type > &tau) |
| | QR factorization: A (m x n, m >= n) is overwritten with R on+above diagonal and Householder vectors below diagonal.
|
| template<FieldMatrix M> |
| int | mtl::qr_factor (M &A, vec::dense_vector< typename M::value_type > &tau, tag::textbook_reflector) |
| | QR factorization with the textbook Householder reflector (#559).
|
| template<typename Accumulator = void, Matrix M> |
| auto | mtl::qr_extract_Q (const M &A, const vec::dense_vector< typename M::value_type > &tau) |
| | Extract explicit Q (m x m) from QR factorization stored in A and tau.
|
| template<Matrix M> |
| auto | mtl::qr_extract_R (const M &A) |
| | Extract explicit R (m x n) from QR factorization stored in A.
|
| template<Matrix MQ, Matrix MR> |
| void | mtl::qr_normalize_signs (MQ &Q, MR &R) |
| | Make R's diagonal non-negative: for each k < min(m, n) with R(k,k) < 0, negate row k of R and column k of Q.
|
| template<typename Accumulator = void, FieldMatrix M, Vector VecX, Vector VecB> |
| void | mtl::qr_solve (const M &QR, const vec::dense_vector< typename M::value_type > &tau, VecX &x, const VecB &b) |
| | Solve A*x = b via QR factorization (least-squares for m > n).
|