[Rd] wrong matrix dimension in sparseQR
sokol at insa-toulouse.fr
Thu Jan 18 16:13:43 CET 2018
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):
a=matrix(rnorm(m*n), m, n)
stopifnot(nrow(qa at R) == m)
# On my box I have nrow(qa at R):=207 while should be 205 as m is)
Note that for m=203 and n=197, the same code produce right (i.e. coinciding) dimensions.
Have I missed something?
system x86_64, linux-gnu
svn rev 73796
version.string R version 3.4.3 (2017-11-30)
nickname Kite-Eating Tree
More information about the R-devel