Open
Description
The purpose of this issue is to discuss what should be returned by iterative solvers. Obviously the solution vector should be returned, but we should agree on what other data should be returned as a general principle.
There is a case to be made that it is worth returning additional data about the convergence of the solution and/or the iteration history. Examples of such data are:
- isconverged flag (should be Bool, not numeric)
- number of iterations taken
- residual vector
- values of convergence criteria, e.g. norm of residual vector
- iteration history of the residual vector
Furthermore, should such additional information be returned as separate quantities in a tuple following the solution vector, or should everything be packaged into a new type?
Metadata
Metadata
Assignees
Labels
No labels