Learn R Programming

admmDensestSubmatrix (version 0.1.0)

mat_shrink: Soft threshholding operator.

Description

Applies the shrinkage operator for singular value tresholding.

Usage

mat_shrink(K, tau)

Arguments

K

matrix

tau

regularization parameter

Value

Matrix

Examples

Run this code
# NOT RUN {
mat_shrink(matrix(c(1,0,0,0,1,1,1,1,1), nrow=3, ncol=3, byrow=TRUE),0.35)
# }

Run the code above in your browser using DataLab