fnorm-methods {rTensor} | R Documentation |
Returns the Frobenius norm of the Tensor instance.
fnorm(tnsr)
## S4 method for signature 'Tensor'
fnorm(tnsr)
tnsr |
the Tensor instance |
fnorm(tnsr)
numeric Frobenius norm of x
tnsr <- rand_tensor()
fnorm(tnsr)