Skip to content

Commit 8597806

Browse files
authored
Merge pull request #249 from mrava87/doc-rMS
Doc: fixed equation in rMS
2 parents c740015 + 469fd0d commit 8597806

File tree

22 files changed

+53
-52
lines changed

22 files changed

+53
-52
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pyproximal.egg-info/
2121
pyproximal/version.py
2222

2323
# Development #
24+
.codacy
2425
.vscode
2526
.ipynb_checkpoints/
2627
notebooks

pyproximal/optimization/primaldual.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ def PrimalDual(
6464
Linear operator of g
6565
x0 : :obj:`numpy.ndarray`
6666
Initial vector
67-
tau : :obj:`float` or :obj:`np.ndarray`
67+
tau : :obj:`float` or :obj:`numpy.ndarray`
6868
Stepsize of subgradient of :math:`f`. This can be constant
6969
or function of iterations (in the latter cases provided as np.ndarray)
70-
mu : :obj:`float` or :obj:`np.ndarray`
70+
mu : :obj:`float` or :obj:`numpy.ndarray`
7171
Stepsize of subgradient of :math:`g^*`. This can be constant
7272
or function of iterations (in the latter cases provided as np.ndarray)
7373
y0 : :obj:`numpy.ndarray`

pyproximal/optimization/segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def Segment(
2929
3030
Parameters
3131
----------
32-
y : :obj:`np.ndarray`
32+
y : :obj:`numpy.ndarray`
3333
Image to segment (must have 2 or more dimensions)
3434
cl : :obj:`numpy.ndarray`
3535
Classes

pyproximal/optimization/sr3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ def _lsqr(
4141
Data
4242
iter_lim: :obj:`int`
4343
Maximum number of iterations
44-
z_old: :obj:`np.ndarray`
44+
z_old: :obj:`numpy.ndarray`
4545
The previous outer iteration
4646
x0: :obj:`numpy.ndarray`
4747
initial guess
4848
kappa: :obj:`float`
4949
The regularization parameter for the inner iteration
5050
eps: :obj:`float`
5151
The regularization parameter for the outer iteration
52-
Reg: :obj:`np.ndarray`
52+
Reg: :obj:`numpy.ndarray`
5353
The regularization operator L
5454
5555
Returns

pyproximal/projection/Box.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ class BoxProj:
88
99
Parameters
1010
----------
11-
lower : :obj:`float` or :obj:`np.ndarray`, optional
11+
lower : :obj:`float` or :obj:`numpy.ndarray`, optional
1212
Lower bound
13-
upper : :obj:`float` or :obj:`np.ndarray`, optional
13+
upper : :obj:`float` or :obj:`numpy.ndarray`, optional
1414
Upper bound
1515
1616
Notes
@@ -56,13 +56,13 @@ class HyperPlaneBoxProj:
5656
5757
Parameters
5858
----------
59-
coeffs : :obj:`np.ndarray`
59+
coeffs : :obj:`numpy.ndarray`
6060
Vector of coefficients used in the definition of the hyperplane
6161
scalar : :obj:`float`
6262
Scalar used in the definition of the hyperplane
63-
lower : :obj:`float` or :obj:`np.ndarray`, optional
63+
lower : :obj:`float` or :obj:`numpy.ndarray`, optional
6464
Lower bound of Box
65-
upper : :obj:`float` or :obj:`np.ndarray`, optional
65+
upper : :obj:`float` or :obj:`numpy.ndarray`, optional
6666
Upper bound of Box
6767
maxiter : :obj:`int`, optional
6868
Maximum number of iterations used by :func:`scipy.optimize.bisect`
@@ -123,7 +123,7 @@ def __call__(self, x: NDArray) -> NDArray:
123123
124124
Parameters
125125
----------
126-
x : :obj:`np.ndarray`
126+
x : :obj:`numpy.ndarray`
127127
Vector
128128
129129
"""

pyproximal/projection/Euclidean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class EuclideanBallProj:
77
88
Parameters
99
----------
10-
center : :obj:`np.ndarray` or :obj:`float`
10+
center : :obj:`numpy.ndarray` or :obj:`float`
1111
Center of the ball
1212
radius : :obj:`float`
1313
Radius

pyproximal/projection/Intersection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class IntersectionProj:
1111
Size of vector to be projected
1212
n : :obj:`int`
1313
Number of vectors to be projected simultaneously
14-
sigma : :obj:`np.ndarray`
14+
sigma : :obj:`numpy.ndarray`
1515
Matrix of distances of size :math:`k \times k`
1616
niter : :obj:`int`, optional
1717
Number of iterations

pyproximal/projection/Simplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __call__(self, x: NDArray) -> NDArray:
4545
4646
Parameters
4747
----------
48-
x : :obj:`np.ndarray`
48+
x : :obj:`numpy.ndarray`
4949
Vector
5050
maxiter : :obj:`int`, optional
5151
Maximum number of iterations used by :func:`scipy.optimize.bisect`

pyproximal/proximal/Box.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Box(ProxOperator):
1212
1313
Parameters
1414
----------
15-
lower : :obj:`float` or :obj:`np.ndarray`, optional
15+
lower : :obj:`float` or :obj:`numpy.ndarray`, optional
1616
Lower bound
17-
upper : :obj:`float` or :obj:`np.ndarray`, optional
17+
upper : :obj:`float` or :obj:`numpy.ndarray`, optional
1818
Upper bound
1919
2020
Notes

pyproximal/proximal/Euclidean.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class EuclideanBall(ProxOperator):
7070
7171
Parameters
7272
----------
73-
center : :obj:`np.ndarray` or :obj:`float`
73+
center : :obj:`numpy.ndarray` or :obj:`float`
7474
Center of the ball
7575
radius : :obj:`float`
7676
Radius

0 commit comments

Comments
 (0)