I have found explanation in the comments to original cs_qr() matlab function
http://users.encs.concordia.ca/~krzyzak/R%20Code-Communications%20in%20Statistics%20and%20Simulation%202014/Zubeh%F6r/SuiteSparse/CSparse3/MATLAB/CSparse/cs_qr.m
"If A is structurally rank deficient, additional empty
ro
Hi,
I came across a case when the dimensions of matrices returned by qr()
operated on a sparse matrix does not coincide with the initial matrix.
Here is a spinet code that should produce an example (one of many that I could
provide):
m=205
n=199
set.seed(7);
a=matrix(rnorm(m*n), m, n)
a[s