prox.l1: Proximal operator of the scaled L1 norm.

Description Usage Arguments Value Examples

Description

Computes the proximal operator of the L1 norm:

h(x) = λ ||x||_1 ,

where λ is a scaling factor.

Usage

1
prox.l1(x, t, opts)

Arguments

x

The input vector

t

The step size

opts

List of parameters, which must include:

opts$lambda, the scaling factor of the L1 norm.

Value

The proximal of h at x with step size t, given by

prox_h(x,t) = argmin_u [ t h(u) + 1/2 || x - u ||^2 ]

.

Examples

1
prox.l1(c(1,3,-2), 1.5, list(lambda=1))

jpvert/apg documentation built on May 19, 2019, 11:51 p.m.