yixuan / RSpectra

R Interface to the Spectra Library for Large Scale Eigenvalue and SVD Problems
http://cran.r-project.org/package=RSpectra
80 stars 12 forks source link

Function interface for svds #3

Closed andland closed 8 years ago

andland commented 8 years ago

Is it possible to implement the function interface for svds? Or is there a non-trivial way to use the eigs function interface to calculate the SVD with a function? I believe one would need to provide two functions: A %*% x and t(A) %*% x. At least that is what the PROPACK library has.

yixuan commented 8 years ago

Yeah, this is workable. I plan to implement this feature in the next version. Thanks.

yixuan commented 8 years ago

This feature has been added in the most recent version. See the bottom of the README page.

yixuan commented 8 years ago

The new version has been submitted to CRAN, so I think we can close this issue.

andland commented 8 years ago

Awesome, thanks!!