Description Usage Arguments See Also Examples
Construct an sptensor from a matrix of subscripts for non-zero values, a vector of non-zero values, and the numeric dimensions of the tensor.
1 2 3 4 5 6 7 8 9 10 |
subs |
matrix with length(dims) rows and length(vals) cols. Each row in the matrix corresponds to a different tensor dimension. Each column in the matrix represents a vector of subscripts pointing to a non-zero value in the tensor. |
vals |
values of non-zero entries. The subscripts for the first value
are the first column of the |
dims |
sizes of each dimension |
sptensor-class
for class documentation.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.