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(t))
# Jacobian of H evaluated at (x,t)
JH=[jh(vars=>x)forjhindifferentiate(H(t),vars)]
# ∂H/∂t is the same as γG-F=H(1)-H(0) for our choice of homotopy