normtensor.RdCalculates the Euclidean norm of a tensor or its subtensors.
norm(X,...)
# S3 method for class 'tensor'
norm(X,i=NULL,...,by=NULL)
opnorm(X,...)
# S3 method for class 'tensor'
opnorm(X,i=NULL,...,by=NULL)either a single number giving the norm of the tensor or a tensors with the dimensions i removed containing the individual norms in each entry.
a tensor of dimension dim(X)[by] giving the
Euclidean operator norm of the tensor (i.e. its largest singular
value)
The function computes the Euclidean norm, which is the square root over the sum of all entries and not the operator norm.
The function computes the Euclidean operator norm, which is largest factor in changing the Euclidean norm, when mapped with the linear mapping corresponding to the tensor.