Thank you, Michele & Chris for your suggestion to use qrfact. Good
idea. Unfortunately, I neglected to mention that my matrix is a
BigFloat array, and qrfact with pivoting fails like this:
julia> Z = qrfact(A, true)
ERROR: MethodError: `qrfact` has no method matching
qrfact(::Array{BigFloat,2}, ::Bool)
Hmmmm.... I guess I'll need to figure out how to implement the
QR-with-pivot algorithm in Golub and Van Loan (ugh!). Or is there a
clear reference to the algorithm Julia uses?
Stuart