Releases: JuliaFirstOrder/ProximalOperators.jl
Releases · JuliaFirstOrder/ProximalOperators.jl
More gradients, more functions, more options
- Added
IndGraph
, the indicator of the graph of a linear operator; - Added iterative version of
IndAffine
,LeastSquares
,Quadratic
, all accessible through the kwargiterative=true
in the constructor; - Added gradient and subgradient computation for several functions;
- Several bugfixes and performance improvements.
See the diff.
Scaled packed storage in IndPSD
Gradients and docs
- Methods
gradient
andgradient!
now compute (guess what?) gradients in the case of smooth functions. - The new type
QuadraticIterative
implements quadratic functions, just likeQuadratic
, but uses CG to perform theprox!
operation. - The new calculus rule
Precomposition
handles the general case where a function is composed with a linear operatorL
such thatL*L'
is diagonal. - Added documentation.
New interface
Main changes:
- Updated argument order: from
prox!(F, x, y, [gamma])
toprox!(y, F, x, [gamma])
- For separable functions, one can now use
gamma::AbstractArray
to use a different stepsize for each component Postcomposition
is nowPostcompose
,Precomposition
is nowPrecomposeDiagonal
Functions added:
- Indicator of the rotated second-order cone:
IndRotatedSOC