powered by
entries of v are moved towards 0 by the amount lambda until they hit 0.
vector.soft.thresh(x, lambda)
a vector of real numbers
soft thresholding value
a vector of the same length