You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often the preconditioner can be defined as a function instead of a type with ldiv! method. For example, see JuliaLinearAlgebra/IterativeSolvers.jl#258. It would be nice to be able to wrap the function in a type PreconditionerFunction and pass that to iterative solvers seamlessly.
The text was updated successfully, but these errors were encountered:
Is there a PreconditionerFunction for use? I have coded a multigrid preconditioner which returns a function accepting a vector as its argument. I aim to pass this function to the lobpcg. I was wondering if I have to write my own wrapper trying to overload ldiv! or if there is an existing PreconditionerFunction ready for use?
Often the preconditioner can be defined as a function instead of a type with
ldiv!
method. For example, see JuliaLinearAlgebra/IterativeSolvers.jl#258. It would be nice to be able to wrap the function in a typePreconditionerFunction
and pass that to iterative solvers seamlessly.The text was updated successfully, but these errors were encountered: