powered by
Function to solve the soft thresholding problem
S_func(x, a)
The data value
The lambda value
The solution to the soft thresholding operator.