From 8a3dabd8bdc2f4f4a21217807d09814fad3d8d34 Mon Sep 17 00:00:00 2001 From: Ricardo Fabbri Date: Sat, 15 Jun 2024 20:22:34 -0700 Subject: [PATCH] end 2x2 detailed tutorial done --- tutorial/end-2x2.m2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tutorial/end-2x2.m2 b/tutorial/end-2x2.m2 index cf9aeff..5f6af34 100644 --- a/tutorial/end-2x2.m2 +++ b/tutorial/end-2x2.m2 @@ -72,10 +72,6 @@ load "equations-2x2.m2" -- Read start system (p0,sols0) = readStartSys "startSys"; -print "Start solutions should evaluate to 0:" -sols0 = flatten \ entries \ sols0 -- convert to list of list -print(apply(sols0, x -> evaluate(GS, point p0, x))) - -- Pro ------------------------------------------------------------------------- -- verify options are set as desired -- netList((keys options trackHomotopy)/(opt ->(opt, getDefault opt))) @@ -121,6 +117,11 @@ sols1 = trackHomotopy(H01, sols0) print "Target found solutions should evaluate to 0:" print(apply(sols1, x -> evaluate(GS, point p1, x))) +print "Start solutions should evaluate to 0:" +sols0 = point \ sols0 -- convert to list of list +print(apply(sols0, x -> evaluate(GS, point p0, x))) + + -- Pro ------------------------------------------------------------------------- -- J0 = evaluate(J,sols0||p0); -- Evaluates Jacobian if desired