In particular, try qr(X).Q * Matrix(I, size(X)...), and you should find that it is much faster than an SVD.
Yes, it’s pretty common to want to slice a Q matrix and we really should provide a fast algorithm for it.
In particular, try qr(X).Q * Matrix(I, size(X)...), and you should find that it is much faster than an SVD.
Yes, it’s pretty common to want to slice a Q matrix and we really should provide a fast algorithm for it.