Sparse Tensors in R


[Up] [Top]

Documentation for package ‘tensorr’ version 0.1.1

Help Pages

tensorr-package tensorr: sparse tensors in R
as_dtensor Convert objects to dense tensors
as_dtensor-method Convert objects to dense tensors
as_sptensor Convert objects to sparse tensors
as_sptensor-method Convert objects to sparse tensors
dim Dimensions of a tensor
dim-method Dimensions of a tensor
dimnames Dimension names of a tensor
dimnames-method Dimension names of a tensor
dimnames<-,dtensor-method,ANY Dimension names of a tensor
dimnames<-,dtensor-method,NULL Dimension names of a tensor
dimnames<-,sptensor-method,ANY Dimension names of a tensor
dimnames<-,sptensor-method,list Dimension names of a tensor
dimnames<-,sptensor-method,NULL Dimension names of a tensor
dimnames<--method Dimension names of a tensor
dtensor Construct a dense tensor
dtensor-class An S4 class for a dense tensor
dtensor-extract Extract values from a dense tensor
dtensor-method Construct a dense tensor
dtensor-replace Replace values from a dense tensor
fill_missing_indices Fill NULL indices with a range from 1:dim
innerprod Calculate the inner product of a pair of tensors
innerprod-method Calculate the inner product of a pair of tensors
is_dtensor Test if the object is a tensor
is_sptensor Test if the object is a tensor
is_tensor Test if the object is a tensor
length-method Length of a tensor
norm Calculate the Frobenius norm of a tensor
norm-method Calculate the Frobenius norm of a tensor
nzsubs Subscripts of non-zero values in a tensor
nzsubs-method Subscripts of non-zero values in a tensor
nzvals Non-zero values in a tensor
nzvals-method Non-zero values in a tensor
outerprod Calculate the outer product of a pair of tensors
outerprod-method Calculate the outer product of a pair of tensors
refold Refold an unfolded tensor
refold-method Refold an unfolded tensor
sptensor Construct a sparse tensor
sptensor-class An S4 class for a sparse tensor
sptensor-extract Extract values from a sparse tensor
sptensor-method Construct a sparse tensor
sptensor-replace Replace values from a sparse tensor
squeeze Remove tensor dimensions of size 1
tensorr tensorr: sparse tensors in R
ttm Tensor times matrix
ttm-method Tensor times matrix
ttt Calculate the outer product of a pair of tensors
ttt-method Calculate the outer product of a pair of tensors
ttv Tensor times vector
ttv-method Tensor times vector
unfold Unfold (matricize) a tensor along a mode
unfold-method Unfold (matricize) a tensor along a mode
unfolded_dtensor Construct an unfolded dense tensor
unfolded_dtensor-class An S4 class for an unfolded dense tensor
unfolded_dtensor-method Construct an unfolded dense tensor
unfolded_sptensor Construct an unfolded sparse tensor
unfolded_sptensor-class An S4 class for an unfolded sparse tensor
unfolded_sptensor-method Construct an unfolded sparse tensor
[-method Extract values from a dense tensor
[-method Extract values from a sparse tensor
[<--method Replace values from a dense tensor
[<--method Replace values from a sparse tensor