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)

jamesyili/rTensor documentation built on May 18, 2019, 11:22 a.m.