Recovers the upper triangular matrix R from a QR decomposition. Equivalent to R's qr.R().
R
qr.R()
The columns stay in pivoted order (as in R); use q.pivot to map them back.
q.pivot
A QR decomposition from qr.
complete: return all n rows instead of the first min(n, p). Default: false.
complete
n
min(n, p)
false
R as an array of rows.
qrR(qr([[3, 0], [4, 5]])); // [[-5, -4], [0, 3]] Copy
qrR(qr([[3, 0], [4, 5]])); // [[-5, -4], [0, 3]]
Recovers the upper triangular matrix
Rfrom a QR decomposition. Equivalent to R'sqr.R().The columns stay in pivoted order (as in R); use
q.pivotto map them back.