The coefficient vector (one element per column of the decomposed matrix).
Least-squares coefficients for each column of a matrix response.
A QR decomposition from qr.
The response matrix (array of rows), with as many rows as the decomposed matrix.
The coefficients as an array of rows (one row per column of the decomposed matrix, one column per column of y).
Least-squares coefficients.
A QR decomposition from qr.
The response, a vector or a matrix.
A vector if y is a vector, otherwise an array of rows.
Least-squares coefficients for a vector response. Equivalent to R's
qr.coef().Coefficients are returned in the original column order. Coefficients of columns that were not used (those after position
rankinpivot) areNaN(R'sNA). For a decomposition computed withlapack: true, the firstmin(nrow, ncol)pivoted columns are used.