View source: R/sptensor-utils.r
Matches a given index to the index of a non-zero value in a sparse tensor. Returns the index if there is match. Returns 0 if there is no match. Returns NA if the index is out of bounds.
1 | matches(idx, x)
|
idx |
index |
x |
sptensor |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.