pub trait QR { type Decomp; fn qr(&self) -> Result<Self::Decomp>; }
QR decomposition for matrix by reference
Decomposes the matrix into semi-orthogonal matrix Q and upper-triangular matrix R, such that Q * R yields the original matrix. Matrix rows must be equal or greater than number of columns.
Q
R
Q * R