norm.Lp {epca}R Documentation

Element-wise Matrix Norm

Description

Compute element-wise matrix Lp-norm. This is a helper function to shrinkage().

Usage

norm.Lp(x, p = 1)

Arguments

x

a matrix or Matrix.

p

numeric(1), the p for defining the Lp norm.

Value

numeric(1), the absolute sum of all elements.


[Package epca version 1.1.0 Index]