Fix #15
For now, only a few features are implemented:
convert a dgCMatrix or a dsCMatrix to an SFBM, a Sparse Filebacked Big Matrix
grow an SFBM using $add_columns() (similar to ‘cbind’ or ‘bdiag’)
$add_columns()
compute the product and crossproduct of an SFBM with a vector
solve Ax=b, where A is a symmetric SFBM and b is a vector
access the subset of an SFBM as a dgCMatrix (matrix accessor, since v0.6.1)
A new compact format is available (since v0.5), which is useful when non-zero values in columns are contiguous (or almost).
# CRAN install.packages("bigsparser") # latest GitHub version remotes::install_github("privefl/bigsparser")
用于处理大规模稀疏矩阵的R语言包,提供高效的稀疏矩阵存储和线性代数运算。
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
bigsparser: sparse matrix format with data on disk
Features
For now, only a few features are implemented:
convert a dgCMatrix or a dsCMatrix to an SFBM, a Sparse Filebacked Big Matrix
grow an SFBM using
$add_columns()(similar to ‘cbind’ or ‘bdiag’)compute the product and crossproduct of an SFBM with a vector
solve Ax=b, where A is a symmetric SFBM and b is a vector
access the subset of an SFBM as a dgCMatrix (matrix accessor, since v0.6.1)
A new compact format is available (since v0.5), which is useful when non-zero values in columns are contiguous (or almost).
Installation