Package: rTensor 1.5.0
rTensor: Tools for Tensor Analysis and Decomposition
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, Tucker, INDSCAL, RESCAL, DEDICOM, PARAFAC2, and 2DLDA. 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.
Authors:
rTensor_1.5.0.tar.gz
rTensor_1.5.0.zip(r-4.7)rTensor_1.5.0.zip(r-4.6)rTensor_1.5.0.zip(r-4.5)
rTensor_1.5.0.tgz(r-4.6-any)rTensor_1.5.0.tgz(r-4.5-any)
rTensor_1.5.0.tar.gz(r-4.7-any)rTensor_1.5.0.tar.gz(r-4.6-any)
rTensor_1.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rTensor/json (API)
NEWS
| # Install 'rTensor' in R: |
| install.packages('rTensor', repos = c('https://rikenbit.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rikenbit/rtensor/issues
Last updated from:875b585b1d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 112 | ||
| source / vignettes | OK | 158 | ||
| linux-release-x86_64 | OK | 136 | ||
| macos-release-arm64 | OK | 120 | ||
| macos-oldrel-arm64 | OK | 105 | ||
| windows-devel | OK | 74 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 107 | ||
| wasm-release | OK | 83 |
Exports:as.tensorcpcs_foldcs_unfolddedicomfnormfoldhadamard_listheadhosvdindscalinnerProdk_foldk_unfoldkhatri_raokhatri_rao_listkronecker_listload_orlmatvecmodeMeanmodeSummpcaparafac2plot_orlprintpvdrand_tensorrescalrs_foldrs_unfoldshowtt_multt_svdt_svd_reconstructtailtpermttlttmtuckertwodldaunfoldunmatvecvec
Dependencies:
