-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
In #1043 I noted that the restrictiveness of warm-start for some methods presumably comes down to an API which requires users to specify whether "preconditioners" (see #1046) should be used in the sense of v -> M * v or v -> M \ v; the code tries to avoid making assumptions that the other operation is even available. However, in some cases both operations can be made reasonably efficient (Diagonal being an obvious example, but Tridiagonal and others are also good candidates). One might also wish to follow the example of https://github.com/JuliaStats/PDMats.jl and supply both M and its factorization.
I wonder if it might make sense to provide a way of signaling this. Two potential options:
- allow
ldivto have a third value indicating thatMis supplied as a pair of operators(Mmul, Mdiv) - define a wrapper type that allows one to supply both
Metadata
Metadata
Assignees
Labels
No labels