tperm-methods

0th

Percentile

Mode Permutation for Tensor

Overloads aperm for Tensor class for convenience.

Usage
tperm(tnsr, perm, ...)

# S4 method for Tensor tperm(tnsr, perm, ...)

Arguments
tnsr

the Tensor instance

perm

the new permutation of the current modes

...

additional parameters to be passed into aperm

Details

tperm(tnsr,perm=NULL,...)

Aliases
  • tperm-methods
  • tperm
  • tperm,Tensor-method
Examples
# NOT RUN {
tnsr <- rand_tensor(c(3,4,5))
dim(tperm(tnsr,perm=c(2,1,3)))
dim(tperm(tnsr,perm=c(1,3,2)))
# }
Documentation reproduced from package rTensor, version 1.4, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.