powered by
The Frobenius norm of an array is the square root of the sum of its squared elements. This function works for vector and matrix arguments as well.
fnorm(tnsr)
The Frobenius norm
a 3-mode tensor S3 class object
Kyle Caudle
Randy Hoover
Jackson Cates
Everett Sandbo
Friedland, S., & Aliabadi, M. (2018). Linear algebra and matrices. Society for Industrial and Applied Mathematics.
T <- t_rand(modes=c(2,2,4)) fnorm(T$data)
Run the code above in your browser using DataLab