Norm of a matrix {Rfast} | R Documentation |
Norm of a matrix
Description
Norm of a matrix.
Usage
Norm(x, type = "F")
Arguments
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) |
Value
A number, the norm of the matrix.
Author(s)
Manos Papadakis
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
See Also
Examples
x <- matrix( rnorm(10 * 10), ncol = 10 )
res<-Norm(x, "F")
res<-norm(x, "F")
res<-Norm(x, "M")
res<-norm(x, "M")
[Package Rfast version 2.1.0 Index]