View source: R/sptensor-replace.r
Replaces values in sparse tensor and returns a new sparse tensor.
1 | replace_sptensor(x, idxmat, value)
|
x |
sptensor |
idxmat |
matrix of indices |
value |
replacement value(s) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.