A QR decomposition from qr.
complete: whether the default ncol is the number of rows (true) or min(nrow, ncol) (false, the default).
ncol: the number of columns to return, from 0 to max(nrow, ncol); columns beyond the original ones are taken
from Q (as in R). A larger ncol is an error (R pads zero columns).
The reconstructed matrix as an array of rows.
Reconstructs the original matrix from a QR decomposition, with columns back in their original order. Equivalent to R's
qr.X().If the decomposition was pivoted,
ncolsmaller than the number of columns is an error (as in R).