David,
Reading through the code a bit, the class does not in fact store the Q
and R factors explicitly. It does store R, but the Q factor is stored as
the product of Householder reflections of the form Q_i = I-v_i v_i^T
where the vectors v_i are so that they can be stored in the
lower-triangular part of the underlying matrix, whereas R is stored in
the upper triangular part.
The v_i vectors and the R matrix now are in conflict because they both
want to use the diagonal entry of the matrix, but we can only store one
in these positions, of course. Consequently, the entries (v_i)_i are
stored separately in the `diagonal` vector.
I'm not sure this is helpful in extracting this information, but that's
what the class appears to be doing.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/