__construct() __construct( $A) : \Structure QR Decomposition computed by Householder reflections. @param matrix $A Rectangular matrix Parameters $A Returns \Structure — to access R and the Householder vectors and compute Q.
isFullRank() isFullRank() Is the matrix full rank? @return boolean true if R, and hence A, has full rank, else false.
getH() getH() Return the Householder vectors @return Matrix Lower trapezoidal matrix whose columns define the reflections
getQ() getQ() Generate and return the (economy-sized) orthogonal factor @return Matrix orthogonal factor
solve() solve( $B) : \Matrix Least squares solution of A*X = B @param Matrix $B A Matrix with as many rows as A and any number of columns. Parameters $B Returns \Matrix — Matrix that minimizes the two norm of QRX-B.