Describe the proximal function in Halide language:
\begin{align}
f(x) &=\Vert F^T D F x - b \Vert_2^2 \\
prox(v, \rho) &= \arg \min_{x \in \mathbb{C}} f(x) + \frac{\rho}{2} \Vert x - v \Vert_2^2 \\
&= F^T \left[ \frac{ D F b / \rho + F v}{D / \rho + 1} \right]
\end{align}
where operator D is a diagonal matrix. If rho is not defined, ignore buffer b in the computation. Allocate the buffer ftmp_halide in frequency domain on the fly. Implement the algorithm with multi-threading and vectorized instructions.
Describe the proximal function in Halide language:
where operator D is a diagonal matrix. If rho is not defined, ignore buffer b in the computation. Allocate the buffer
ftmp_halide
in frequency domain on the fly. Implement the algorithm with multi-threading and vectorized instructions.Resolves: #88 . cc'ed @shnaqvi.