fnorm {TensorTools} | R Documentation |
The Frobenius Norm
Description
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.
Usage
fnorm(tnsr)
Arguments
tnsr |
a 3-mode tensor S3 class object |
Value
The Frobenius norm
Author(s)
Kyle Caudle
Randy Hoover
Jackson Cates
Everett Sandbo
References
Friedland, S., & Aliabadi, M. (2018). Linear algebra and matrices. Society for Industrial and Applied Mathematics.
Examples
T <- t_rand(modes=c(2,2,4))
fnorm(T$data)
[Package TensorTools version 1.0.0 Index]