fnorm: The Frobenius Norm

fnormR 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)

TensorTools documentation built on Oct. 18, 2024, 1:07 a.m.