Learn R Programming

FinCovRegularization (version 1.1.0)

F.norm2: The Squared Frobenius Norm

Description

Calculate the squared Frobenius norm of a matrix

Usage

F.norm2(matrix)

Arguments

matrix
a matrix

Value

a scalar of the squared Frobenius norm

Examples

Run this code
data(m.excess.c10sp9003)
cov.SAM <- cov(m.excess.c10sp9003)
F.norm2(cov.SAM)

Run the code above in your browser using DataLab