I tried to use RcppArmadillo to compute the Frobenious norm across each slice of an array(arma::cube). The example code in file cxxFuns.cpp<
RcppArmadillo
arma::cube
cxxFuns.cpp<