I have searched extensively online and cannot find anywhere a simple example of a set up for a discrete problem. A simply want an example of usage and set up.
Not a SciML user so someone else might have a better idea, but if you can’t find anything in the docs it might be worth having a look through the test suite to see how (if) it’s being used there.
There is a lot of random stuff around. For example
using OrdinaryDiffEqFunctionMap
function henon_map!(u_next, u, p, t)
u_next[1] = 1 + u[2] - 1.4 * u[1]^2
u_next[2] = 0.3 * u[1]
end
prob = DiscreteProblem(henon_map!, [0.5, 0.5], (0, 100))
sol = solve(prob, FunctionMap())
What exactly are you looking to do?