QRResult

Members

Functions

solve
auto solve(Slice!(kind, n, Iterator) b)

Solve the least squares problem: \min ||A * X - B|| Using the QR factorization: \A = Q * R computed by qrDecomp.

Variables

matrix
Slice!(Canonical, [2], T*) matrix;

Matrix in witch the elements on and above the diagonal of the array contain the min(M, N) x N upper trapezoidal matrix 'R' (R is upper triangular if m >= n). The elements below the diagonal, with the array tau, represent the orthogonal matrix 'Q' as product of min(m, n).

tau
Slice!(Contiguous, [1], T*) tau;

The scalar factors of the elementary reflectors

Meta