3 HouseholderQR<MatrixXf>
qr(
A);
6 std::cout <<
"The complete unitary matrix Q is:\n" <<
Q <<
"\n\n";
7 std::cout <<
"The thin matrix Q is:\n" <<
thinQ <<
"\n\n";
MatrixXf A(MatrixXf::Random(5, 3))
HouseholderQR< MatrixXf > qr(A)
Matrix< float, Dynamic, Dynamic > MatrixXf
Dynamic×Dynamic matrix of type float.