Skip to content

@saehrimnir/druidjs / qr

Function: qr()

ts
function qr(A: Matrix): {
  Q: Matrix;
  R: Matrix;
};

Defined in: linear_algebra/qr.js:13

Computes the QR Decomposition of the Matrix A using Gram-Schmidt process.

Parameters

ParameterTypeDescription
AMatrix-

Returns

ts
{
  Q: Matrix;
  R: Matrix;
}
NameTypeDefined in
QMatrixlinear_algebra/qr.js:10
RMatrixlinear_algebra/qr.js:10

See

https://en.wikipedia.org/wiki/QR_decomposition#Using_the_Gram%E2%80%93Schmidt_process