|
numerics 0.1.0
|
QR dispatcher + qr_solve. More...
#include "linalg/factorization/qr.hpp"#include "backends/seq/impl.hpp"#include "backends/lapack/impl.hpp"Go to the source code of this file.
Namespaces | |
| namespace | num |
Functions | |
| QRResult | num::qr (const Matrix &A, Backend backend=lapack_backend) |
| QR factorization of an mxn matrix A (m >= n) via Householder reflections. | |
| void | num::qr_solve (const QRResult &f, const Vector &b, Vector &x) |
| Solve the least-squares problem min ||A*x - b||_2. | |
QR dispatcher + qr_solve.
Backend routing: Backend::lapack -> backends::lapack::qr (dgeqrf + dorgqr, blocked BLAS-3) everything else -> backends::seq::qr (Householder reflections)
Definition in file qr.cpp.