This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
moduleEulerNewton
usingLinearAlgebra
usingTypedPolynomials
exporten_step
# Euler-Newton predictor-corrector
functionen_step(H,x,t,step_size)
# Predictor step
vars=variables(H(1))
# Jacobian of H evaluated at (x,t)
JH=[jh(vars=>x)forjhindifferentiate(H(t),vars)]
# ∂H/∂t = γG-F = H(1)-H(0) for our homotopy; it doesn't depend on t