Obtaining a projection onto the range of a matrix through its QR decomposition

this is what I did with svd and qr:

Incidentally I do know the mathematical rank beforehand and for my examples this numerical rank(F) has always agreed.

Matrices I deal with are of sizes up to 60k (of course sparse ;).

1 Like