A set of tools for creation, manipulation, and modeling of tensors with arbitrary number of modes. A tensor in the context of data analysis is a multidimensional array. rTensor does this by providing a S4 class 'Tensor' that wraps around the base 'array' class. rTensor provides common tensor operations as methods, including matrix unfolding, summing/averaging across modes, calculating the Frobenius norm, and taking the inner product between two tensors. Familiar array operations are overloaded, such as index subsetting via '[' and element-wise operations. rTensor also implements various tensor decomposition, including CP, GLRAM, MPCA, PVD, and Tucker. For tensors with 3 modes, rTensor also implements transpose, t-product, and t-SVD, as defined in Kilmer et al. (2013). Some auxiliary functions include the Khatri-Rao product, Kronecker product, and the Hadamard product for a list of matrices.
| Version: | 1.4.9 |
| Depends: | R (≥ 2.10.0) |
| Imports: | methods |
| Published: | 2025-08-25 |
| DOI: | 10.32614/CRAN.package.rTensor |
| Author: | James Li [aut], Jacob Bien [aut], Martin Wells [aut], Koki Tsuyuzaki [cre, ctb] |
| Maintainer: | Koki Tsuyuzaki <k.t.the-answer at hotmail.co.jp> |
| License: | MIT + file LICENSE |
| URL: | https://github.com/rikenbit/rTensor |
| NeedsCompilation: | no |
| Citation: | rTensor citation info |
| Materials: | NEWS |
| CRAN checks: | rTensor results |
| Reference manual: | rTensor.html , rTensor.pdf |
| Package source: | rTensor_1.4.9.tar.gz |
| Windows binaries: | r-devel: rTensor_1.4.9.zip, r-release: rTensor_1.4.9.zip, r-oldrel: rTensor_1.4.9.zip |
| macOS binaries: | r-release (arm64): rTensor_1.4.9.tgz, r-oldrel (arm64): rTensor_1.4.9.tgz, r-release (x86_64): rTensor_1.4.9.tgz, r-oldrel (x86_64): rTensor_1.4.9.tgz |
| Old sources: | rTensor archive |
| Reverse imports: | ccTensor, CMTFtoolbox, dcTensor, DelayedTensor, fase, gcTensor, iTensor, mwTensor, nnTensor, NPLStoolbox, parafac4microbiome, rMultiNet, RTFA, scITD, scTensor, TDbasedUFE, TDbasedUFEadv, TensorClustering, tensorMiss, TensorPreAve, tensorTS, TRES, ttTensor, WormTensor |
| Reverse suggests: | oddnet |
Please use the canonical form https://CRAN.R-project.org/package=rTensor to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.