irlba icon indicating copy to clipboard operation
irlba copied to clipboard

Expand fastpath to cover more sparse matrix classes

Open bwlewis opened this issue 8 years ago • 3 comments

Currently limited to dgCMatrix, see https://github.com/bwlewis/irlba/blob/master/R/irlba.R#L275 and https://github.com/bwlewis/irlba/blob/master/src/irlb.c#L476.

Generalize this

bwlewis avatar Sep 20 '16 16:09 bwlewis

Anyone want to help with this?

bwlewis avatar Sep 21 '16 13:09 bwlewis

What matrix classes do you have in mind? One obvious choice is slam. Another is RcppEigen sparse classes.

What is the expected benefit in terms of memory consumption of this? Is it worth it beyond user convenience?

I am coming to this because I am currently blown out of my 16GB memory on my 3GB matrix and my feeling is that because of the bloated Matrix package, but I might be wrong.

vspinu avatar Dec 30 '16 14:12 vspinu

There is also bigmemory/bigalgebra matrix as per #4.

vspinu avatar Dec 30 '16 14:12 vspinu