philsupertramp/game-math
Loading...
Searching...
No Matches
Functions
qr.h File Reference
#include "../../Matrix.h"
#include "../utils.h"

Go to the source code of this file.

Functions

std::pair< Matrix< double >, Matrix< double > > qr (const Matrix< double > &A)
 

Function Documentation

◆ qr()

std::pair< Matrix< double >, Matrix< double > > qr ( const Matrix< double > &  A)

Calculates QR decomposition of given matrix so in = Q * R

Parameters
inmatrix to calculate with
Returns
{ Q, R } decomposition
Examples
numerics/lin_alg/TestQR.cpp.