fnorm-methods {rTensor}R Documentation

Tensor Frobenius Norm

Description

Returns the Frobenius norm of the Tensor instance.

Usage

fnorm(tnsr)

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

Arguments

tnsr

the Tensor instance

Details

fnorm(tnsr)

Value

numeric Frobenius norm of x

Examples

tnsr <- rand_tensor()
fnorm(tnsr)

[Package rTensor version 1.4.8 Index]