Learn R Programming

rpca (version 0.2.3)

F2norm: Frobenius norm of a matrix

Description

Frobenius norm of a matrix.

Usage

F2norm(M)

Arguments

M
A matrix.

Value

Frobenius norm of M.

Examples

Run this code
## The function is currently defined as
function (M) 
sqrt(sum(M^2))

F2norm(matrix(runif(100),nrow=5))

Run the code above in your browser using DataLab