Add a polynomial solver

Add a function to find the (complex) roots of a polynomial
with real coefficients. The roots are extracted as the
eigenvalues of the (balanced) companion matrix. Also adds a test.
The polynomial solver will be needed in the Dogleg subspace
strategy.

Change-Id: Ia6626158819efb858522b7f4998649ca010d6688
4 files changed
tree: 8a3ba3c11bfa572325a9d897f45a01d56e30f8c8
  1. data/
  2. docs/
  3. examples/
  4. include/
  5. internal/
  6. scripts/
  7. .gitignore
  8. CMakeLists.txt
  9. LICENSE
  10. README