RSpectra
RSpectra copied to clipboard
R Interface to the Spectra Library for Large Scale Eigenvalue and SVD Problems
hi @yixuan I just installed RSpectra from the source code on CRAN, and I see the following warnings from gcc-7.5.0. I also get these warnings using gcc-8.4.0. [RSpectra-warnings.txt](https://github.com/yixuan/RSpectra/files/7570699/RSpectra-warnings.txt) There are...
Running into the following during some simulations, possibly related to #1. ``` r library(RSpectra) M [1] 40 47 sum(M) #> [1] 50 image(as.matrix(M)) ```  ``` r M #> 40...
I'm trying to play with some algorithms in the graph embedding literature (e.g. locality preserving projections) which need to solve the generalized eigenvalue. The Matlab 'eigs' function has this option,...
Hi! Was trying to install Quanteda and it complain that RSpectra is needed. When trying to install, these errors popped up: `../inst/include/RMatOp/RealShift_matrix.h:31:60: required from here /usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/CoreEvaluators.h:960:8: warning: ignoring attributes on...
Say I know the total variance of the matrix, and want to get 99% of that (let's call that `T`). Instead of specifying `k`, would it be possible to implement...
Is there any way to perform a weighted eigendecomposition or SVD with {RSpectra}? (weights for the observations)
`svds_real_gen` fall-backs to full `svd` if all singular values are requested: ```R # If all singular values are requested, call svd() instead, # and give a warning if (k ==...
Thanks for this great package! Was wondering if you could help with a issue. The documentation suggests that `eigs_sym()` should be able to handle sparse matrix input, but there appears...
Hey there, not sure what's going on here, but I have an example where the computed singular values are not monotonically decreasing. ``` r library(RSpectra) library(Matrix) A [9] 17.51910 20.14677...
Hi, I just noticed that in `svds()` function, the `nconv` is listed in the documentation as a standard output. However, it does not appear correctly under the following example: `stopifnot(is.null(svds(matrix(rnorm(30),10,3),2)$nconv))...