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=truein 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
gradientandgradient!now compute (guess what?) gradients in the case of smooth functions. - The new type
QuadraticIterativeimplements quadratic functions, just likeQuadratic, but uses CG to perform theprox!operation. - The new calculus rule
Precompositionhandles the general case where a function is composed with a linear operatorLsuch 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::AbstractArrayto use a different stepsize for each component Postcompositionis nowPostcompose,Precompositionis nowPrecomposeDiagonal
Functions added:
- Indicator of the rotated second-order cone:
IndRotatedSOC