Last chance! 50% off unlimited learning
Sale ends in
p
.roots(p)
At the moment, only real coefficients are allowed.
polydef
, compan
roots(c(1, 0, 1, 0, 0)) # 0 0 1i -1i
p <- polydef(c(-2, -1, 0, 1, 2))
roots(p)
Run the code above in your browser using DataLab