numerics 0.1.0
Loading...
Searching...
No Matches
qr.hpp File Reference

QR factorization via Householder reflections. More...

#include "core/matrix.hpp"
#include "core/policy.hpp"

Go to the source code of this file.

Classes

struct  num::QRResult
 QR factorization \(A=QR\). More...
 

Namespaces

namespace  num
 

Functions

QRResult num::qr (const Matrix &A, Backend backend=lapack_backend)
 Factor \(A\in\mathbb{R}^{m\times n}\) as \(A=QR\).
 
void num::qr_solve (const QRResult &f, const Vector &b, Vector &x)
 Solve \(\min_x \|Ax-b\|_2\).
 

Detailed Description

QR factorization via Householder reflections.

Definition in file qr.hpp.