Last active
December 23, 2020 12:13
-
-
Save bmcfee/a378bfe31a75769c583e to your computer and use it in GitHub Desktop.
Sorry, this is too big to display.
Thanks for this, great work! If you want to omit using scipy.weave
you can replace the contents of __l1_prox
with
Y = np.zeros_like(A)
Y[A-r>0] = A[A-r>0]-r
Y[A+r<=0] = A[A+r<=0]+r
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍 confirmed. Thanks!