R/tensorTransform.R

Defines functions tensorTransform

Documented in tensorTransform

tensorTransform <-
function(x, A, m){
  r <- length(dim(x)) - 1
  x <- tensor(x, A, alongA = m, alongB = 2)
  aperm(x, cyclicalPermute(m, r))
}

Try the tensorBSS package in your browser

Any scripts or data that you put into this service are public.

tensorBSS documentation built on June 2, 2021, 9:08 a.m.