R/mFlatten.R

Defines functions mFlatten

mFlatten <- function(x, m){
  rplusone <- length(dim(x))
  aperm(apply(x, c(m, rplusone), c), c(2, 1, 3))
}

Try the tensorBSS package in your browser

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

tensorBSS documentation built on March 18, 2018, 2:12 p.m.