numerics
Loading...
Searching...
No Matches
qr.cpp File Reference
#include "linalg/factorization/qr.hpp"
#include <cmath>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  num
 

Functions

QRResult num::qr (const Matrix &A)
 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.