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
functionRegenerationCache(Fᵢ, u, n, codim, EO, TO, progress)
158
160
As = [zeros(ComplexF64, n +1- i, n +1) for i =0:codim]
159
161
bs = [zeros(ComplexF64, n +1- i) for i =0:codim]
160
-
x0 = [zeros(ComplexF64, n); 0.0]
162
+
x0 =zeros(ComplexF64, n +1)
163
+
y0 =zeros(ComplexF64, length(Fᵢ))
164
+
y =zeros(ComplexF64, length(Fᵢ))
161
165
U =UniquePoints(x0, 0)
162
166
163
-
RegenerationCache(As, bs, x0, U, Fᵢ, u, n, 0, codim, EO, TO, progress)
167
+
RegenerationCache(As, bs, x0, y0, y, U, Fᵢ, u, n, 0, codim, EO, TO, progress)
168
+
end
169
+
functionupdate_Fᵢ!(cache, Fᵢ)
170
+
cache.Fᵢ = Fᵢ
171
+
cache.y0 =zeros(ComplexF64, length(Fᵢ))
172
+
cache.y =zeros(ComplexF64, length(Fᵢ))
173
+
174
+
nothing
164
175
end
165
-
update_Fᵢ!(cache, Fᵢ) = cache.Fᵢ = Fᵢ
166
176
update_i!(cache, i) = cache.i = i
167
177
functionupdate_x0!(x0)
168
178
for i =1:length(x0)
@@ -543,6 +553,8 @@ function is_contained!(X, Y, F, cache)
543
553
tracker_options = cache.tracker_options
544
554
endgame_options = cache.endgame_options
545
555
x0 = cache.x0
556
+
y0 = cache.y0
557
+
y = cache.y
546
558
547
559
548
560
# main idea: for every x∈X we take a linear space L with codim(L)=dim(Y) through p and move the points in Y to L. Then, we check if the computed points contain x. If yes, return true, else return false.
@@ -577,7 +589,9 @@ function is_contained!(X, Y, F, cache)
0 commit comments