fnorm-methods: Tensor Frobenius Norm

Description Usage Arguments Details Value Examples

Description

Returns the Frobenius norm of the Tensor instance.

Usage

1
2
3
4
fnorm(tnsr)

## S4 method for signature 'Tensor'
fnorm(tnsr)

Arguments

tnsr

the Tensor instance

Details

fnorm(tnsr)

Value

numeric Frobenius norm of x

Examples

1
2
tnsr <- rand_tensor()
fnorm(tnsr)

rTensor documentation built on May 15, 2021, 9:06 a.m.