View source: R/sptensor-extract.r
Extracts indices from a sparse tensor and returns as a new tensor. Can also drop dimensions of the tensor that have size 1.
1 | extract_sptensor(x, i, j, ..., drop = FALSE)
|
x |
sptensor |
drop |
drop dimensions of size 1? |
idxmat |
matrix of indices requested |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.