search for: cholmod_sdmult

Displaying 1 result from an estimated 1 matches for "cholmod_sdmult".

Did you mean: cholmod_ssdmult
2010 Nov 19
0
Error from sparse pattern matrix product
...emory consumption fails. m1 <- Matrix(c(rep(1,1000), rep(0,2000)), 1500) m2 <- as(m1, "ngCMatrix") Then m1 %*% c(1,2) produces the desired matrix product, while m2 %*% c(1,2) results in the error Error in x %*% y : Cholmod error 'invalid xtype' at file:../MatrixOps/cholmod_sdmult.c, line 82 I might be making a wrong assumption that this should work, or another mistake, but the error is somewhat cryptic, and reading the help pages and listing the methods for %*% indicate that matrix products with x of class ngCMatrix should work. Anyway object.size(m1)/object.size(m2) in...