mirror of
https://github.com/BachoSeven/homotopy-continuation.git
synced 2026-10-06 06:34:59 +00:00
experiments
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user