% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aftPenCDA.r
\name{Soft}
\alias{Soft}
\title{Internal soft-thresholding operator}
\usage{
Soft(z, lambda)
}
\arguments{
\item{z}{A numeric scalar or vector.}

\item{lambda}{A nonnegative thresholding parameter.}
}
\value{
A numeric value (or vector) after soft-thresholding.
}
\description{
Computes the soft-thresholding update used in SCAD, ALASSO, and LASSO penalties.
}
\keyword{internal}
