pyxu-org / pyxu

Modular and scalable computational imaging in Python with GPU/out-of-core computing.
https://pyxu-org.github.io/
MIT License
117 stars 17 forks source link

Conjugate gradient #15

Closed joanrue closed 2 years ago

joanrue commented 2 years ago

Added the Conjugate Gradient Method iterative solver based on the Sepand's Solver.py base class.

joanrue commented 2 years ago

My last commit should have been: "[solver/CG] Refactor to leverage base classes' functionalities" "Stopping criterion is an instance of opt.stop.AbsError instead of created from scratch. Fit function is called from base class instead of defining it from scratch. Also added a broadcastable test for b and x0"