Back to Linear Algebra
qr
QR factorization.
Syntax
qr(A) → r
Backends
TypeScriptLAPACKNative BinaryWebAssembly
Description
QR factorization.
Parameters
| Name | Description |
|---|---|
| A | Input matrix |
Returns
Tuple (Q, R) where Q is orthogonal and R is upper-triangular
Examples
Try It
>> qr([1, 2; 3, 4; 5, 6])