Package: RSpectra 0.16-2

RSpectra: Solvers for Large-Scale Eigenvalue and SVD Problems

R interface to the 'Spectra' library <https://spectralib.org/> for large-scale eigenvalue and SVD problems. It is typically used to compute a few eigenvalues/vectors of an n by n matrix, e.g., the k largest eigenvalues, which is usually more efficient than eigen() if k << n. This package provides the 'eigs()' function that does the similar job as in 'Matlab', 'Octave', 'Python SciPy' and 'Julia'. It also provides the 'svds()' function to calculate the largest k singular values and corresponding singular vectors of a real matrix. The matrix to be computed on can be dense, sparse, or in the form of an operator defined by the user.

Authors:Yixuan Qiu [aut, cre], Jiali Mei [aut], Gael Guennebaud [ctb], Jitse Niesen [ctb]

RSpectra_0.16-2.tar.gz
RSpectra_0.16-2.zip(r-4.5)RSpectra_0.16-2.zip(r-4.4)RSpectra_0.16-2.zip(r-4.3)
RSpectra_0.16-2.tgz(r-4.4-x86_64)RSpectra_0.16-2.tgz(r-4.4-arm64)RSpectra_0.16-2.tgz(r-4.3-x86_64)RSpectra_0.16-2.tgz(r-4.3-arm64)
RSpectra_0.16-2.tar.gz(r-4.5-noble)RSpectra_0.16-2.tar.gz(r-4.4-noble)
RSpectra_0.16-2.tgz(r-4.4-emscripten)RSpectra_0.16-2.tgz(r-4.3-emscripten)
RSpectra.pdf |RSpectra.html
RSpectra/json (API)
NEWS

# Install 'RSpectra' in R:
install.packages('RSpectra', repos = c('https://yixuan.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/yixuan/rspectra/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

eigenvaluesspectrasvd

3 exports 80 stars 9.79 score 4 dependencies 397 dependents 1 mentions 332 scripts 62.4k downloads

Last updated 2 months agofrom:8bdd2e9104. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 16 2024
R-4.5-win-x86_64OKSep 16 2024
R-4.5-linux-x86_64OKSep 16 2024
R-4.4-win-x86_64OKSep 16 2024
R-4.4-mac-x86_64OKSep 16 2024
R-4.4-mac-aarch64OKSep 16 2024
R-4.3-win-x86_64OKSep 16 2024
R-4.3-mac-x86_64OKSep 16 2024
R-4.3-mac-aarch64OKSep 16 2024

Exports:eigseigs_symsvds

Dependencies:latticeMatrixRcppRcppEigen

Large-Scale Eigenvalue Decomposition and SVD with RSpectra

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Sep 16 2024.

Last update: 2018-03-04
Started: 2016-06-11

Readme and manuals

Help Manual

Help pageTopics
Find a Specified Number of Eigenvalues/vectors of a Square Matrixeigs eigs.dgCMatrix eigs.dgeMatrix eigs.dgRMatrix eigs.dsCMatrix eigs.dsRMatrix eigs.dsyMatrix eigs.function eigs.matrix eigs_sym eigs_sym.function
Find the Largest k Singular Values/Vectors of a Matrixsvds svds.dgCMatrix svds.dgeMatrix svds.dgRMatrix svds.dsCMatrix svds.dsRMatrix svds.dsyMatrix svds.function svds.matrix