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
When I do the following:
from phcpy.solver import total_degree_start_system
from phcpy.trackers import initialize_standard_tracker
from phcpy.trackers import initialize_standard_solution
from phcpy.trackers import next_standard_solution
from phcpy.solutions import strsol2dict
p = ['x^2 + 4x^2 - 4;', '2y^2 - x;']
(q, s) = total_degree_start_system(p)
s2 = s[3]
initialize_standard_tracker(p, q)
initialize_standard_solution(len(p), s2)
points = [next_standard_solution() for i in range(11)]
dicpts = [strsol2dict(sol) for sol in points]
tvals = [sol['t'] for sol in dicpts]
print(tvals)
that is [(0.1+0j), (0.2+0j), (0.3+0j), (0.4+0j), (0.5+0j), (0.6+0j), (0.7+0j), (0.7+0j), (0.77+0j), (0.84+0j), (0.9275+0j)].
Could you tell me how to change the t values with the function next_standard_solution()? For example, the current t values is 0.7+0j, and after running the function next_standard_solution(), the t value is 0.77+0j rather than 0.8+0j?
The text was updated successfully, but these errors were encountered:
When I do the following:
from phcpy.solver import total_degree_start_system
from phcpy.trackers import initialize_standard_tracker
from phcpy.trackers import initialize_standard_solution
from phcpy.trackers import next_standard_solution
from phcpy.solutions import strsol2dict
p = ['x^2 + 4x^2 - 4;', '2y^2 - x;']
(q, s) = total_degree_start_system(p)
s2 = s[3]
initialize_standard_tracker(p, q)
initialize_standard_solution(len(p), s2)
points = [next_standard_solution() for i in range(11)]
dicpts = [strsol2dict(sol) for sol in points]
tvals = [sol['t'] for sol in dicpts]
print(tvals)
that is [(0.1+0j), (0.2+0j), (0.3+0j), (0.4+0j), (0.5+0j), (0.6+0j), (0.7+0j), (0.7+0j), (0.77+0j), (0.84+0j), (0.9275+0j)].
Could you tell me how to change the t values with the function next_standard_solution()? For example, the current t values is 0.7+0j, and after running the function next_standard_solution(), the t value is 0.77+0j rather than 0.8+0j?
The text was updated successfully, but these errors were encountered: