thresh: Hard-threshold a matrix

Description Usage Arguments Value Author(s)

View source: R/package.R

Description

For a given matrix and a threshold, the function performs element-wise hard-thresholding based on the absolute value of each element.

Usage

1
thresh(C, alph, eps = 1e-10)

Arguments

C

a matrix on which the hard-thresholding is performed.

alph

threshold.

eps

effective zero.

Value

Returns the matrix C after hard-thresholding.

Author(s)

Haeran Cho


tilting documentation built on May 2, 2019, 8:53 a.m.