Norm of a matrix | R Documentation |
Norm of a matrix.
Norm(x, type = "F")
x |
A matrix with numbers. |
type |
The type of norm to be calculated. The default is "F" standing for Frobenius norm ("f" in R's norm). The other options are "C" standing for the one norm ("o" in R's norm), "R" for the identiy norm ("I" in R's norm) and "M" for the maximum modulus among elements of a matrix ("M" in R's norm) |
A number, the norm of the matrix.
Manos Papadakis
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
Dist, dista, colmeans
x <- matrix( rnorm(10 * 10), ncol = 10 )
res<-Norm(x, "F")
res<-norm(x, "F")
res<-Norm(x, "M")
res<-norm(x, "M")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.