powered by
Compute element-wise matrix Lp-norm. This is a helper function to shrinkage().
shrinkage()
norm.Lp(x, p = 1)
numeric(1), the absolute sum of all elements.
numeric(1)
a matrix or Matrix.
matrix
Matrix
numeric(1), the p for defining the Lp norm.