CMD + K

r-rspectra

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-rspectra

Usage Tracking

0.16_2
0.16_1
0.16_0
0.15_0
0.14_0
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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.

Last Updated

Aug 14, 2024 at 18:22

License

MPL-2.0

Total Downloads

479.2K

Supported Platforms

linux-aarch64
linux-64
macOS-64
linux-ppc64le
macOS-arm64
win-64