Skip to content

Instantly share code, notes, and snippets.

@disa-mhembere
Created January 4, 2018 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save disa-mhembere/5fc4be22e255f5198a3a895590e0e656 to your computer and use it in GitHub Desktop.
Save disa-mhembere/5fc4be22e255f5198a3a895590e0e656 to your computer and use it in GitHub Desktop.
flashr eigen example
require(FlashR)
fgmat <- fm.as.matrix(replicate(100, rnorm(100)))
mul = function(mat, extra) fgmat %*% mat
res <- fm.eigen(mul, 5, nrow(fgmat))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment