Learn R Programming

rTensor (version 1.4.8)

fnorm-methods: Tensor Frobenius Norm

Description

Returns the Frobenius norm of the Tensor instance.

Usage

fnorm(tnsr)

# S4 method for Tensor fnorm(tnsr)

Arguments

tnsr

the Tensor instance

Value

numeric Frobenius norm of x

Details

fnorm(tnsr)

Examples

Run this code
# NOT RUN {
tnsr <- rand_tensor()
fnorm(tnsr)
# }

Run the code above in your browser using DataLab