SciML / LinearSolve.jl

LinearSolve.jl: High-Performance Unified Interface for Linear Solvers in Julia. Easily switch between factorization and Krylov methods, add preconditioners, and all in one interface.
https://docs.sciml.ai/LinearSolve/stable/
Other
245 stars 52 forks source link

Which solver was actuallly used? #491

Closed arbenede closed 5 months ago

arbenede commented 5 months ago

When I call the solver with the generic interface, say

prob = LinearProblem(A, b)
sol = solve(prob)
x = solphi.u

I would like to know which algorithm was actually used to produce the solution. Is that possible?

ChrisRackauckas commented 5 months ago

sol.alg