Skip to content

Commit

Permalink
Edit example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Nov 10, 2023
1 parent 4fa69e5 commit 3030188
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/scripts/sparsecode_nn_admm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
where $D$ the dictionary, $\mathbf{y}$ the signal to be represented,
$\mathbf{x}$ is the sparse representation, and $I(\mathbf{x} \geq 0)$
is the non-negative indicator.
In this example the problem is solved via ADMM, while Accelerated PGM is
used in a [companion example](sparsecode_nn_apgm.rst).
"""

import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions examples/scripts/sparsecode_nn_apgm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
where $D$ the dictionary, $\mathbf{y}$ the signal to be represented,
$\mathbf{x}$ is the sparse representation, and $I(\mathbf{x} \geq 0)$
is the non-negative indicator.
In this example the problem is solved via Accelerated PGM, while ADMM is
used in a [companion example](sparsecode_nn_admm.rst).
"""

import numpy as np
Expand Down

0 comments on commit 3030188

Please sign in to comment.