powered by
Returns the Frobenius norm of the Tensor instance.
fnorm(tnsr)# S4 method for Tensor fnorm(tnsr)
# S4 method for Tensor fnorm(tnsr)
the Tensor instance
numeric Frobenius norm of x
x
fnorm(tnsr)
# NOT RUN { tnsr <- rand_tensor() fnorm(tnsr) # }
Run the code above in your browser using DataLab