experiments

main
Francesco Minnocci 10 months ago
parent d54be82f1a
commit 80dd2a420a
No known key found for this signature in database
GPG Key ID: 76DA3AF9BAED1A32

@ -19,7 +19,7 @@ module RandomPoly
# of degree d_i randomly chosen between 1 and max_degree
function random_system(m, max_degree)
d = rand(1:max_degree, m)
println("Degrees: ", d)
println("Expected number of real zeros: ", sqrt(prod(d)))
random_polys = [random_poly(d[i], m) for i in 1:m]
return random_polys

Loading…
Cancel
Save