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
Is there any way to use LinearSolve.jl algorithms with RecursiveArrayTools.ArrayPartition? Concrete example:
using RecursiveArrayTools
using DifferentialEquations
f!(du, u, p, t) = du .=1.01.* u
u0 =ArrayPartition([0.25, 0.5], [0.5, 0.75])
tspan = (0.0, 1.0)
prob =ODEProblem(f, u0, tspan)
sol =solve(prob, KenCarp47(linsolve =KrylovJL_GMRES()))
I think this could be made fast. The * operation can be done lazily so there's really no impediment here other than generalizing whatever computation is getting stuck
Is there any way to use
LinearSolve.jl
algorithms withRecursiveArrayTools.ArrayPartition
? Concrete example:Fails with:
Which - at a first glance - does not seem too horrible to fix. But would this be performant?
The text was updated successfully, but these errors were encountered: