R/mModeCovariance.R

Defines functions mModeCovariance

Documented in mModeCovariance

mModeCovariance <-
function(x, m, center = TRUE, normalize = TRUE){
  if(center == TRUE) x <- tensorCentering(x)
  xm <- mFlatten(x, m)
  normalize_int <- normalize*1
  matrixCovariance(xm, normalize_int)
}

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.