Learn R Programming

accSDA (version 1.0.0)

vec_shrink: Softmax for SZVD ADMM iterations

Description

Applies softmax the soft thresholding shrinkage operator to v with tolerance a. That is, output is the vector with entries with absolute value v_i - a if |v_i| > a and zero otherwise, with sign pattern matching that of v.

Usage

vec_shrink(v, a)

Arguments

v

Vector to be thresholded.

a

Vector of tolerances.

Value

thresholded v vector.

x,y,z

Iterates at termination.

its

Number of iterations required to converge.

errtol

Stopping error bound at termination

Details

This function is used by other functions and should only be called explicitly for debugging purposes.

See Also

Used by: SZVD_ADMM.