aberth.hpp file
Functions
- auto initial_aberth(const std::vector<double>& pa) -> std::vector< std::complex< double > > -> auto
 - auto aberth(const std::vector<double>& pa, std::vector<std::complex<double>>& zs, const Options& options) -> std::pair< unsigned int, bool > -> auto
 - Aberth's method is a method for finding the roots of a polynomial that is robust but requires complex arithmetic even if the polynomial is real. This is because it starts with complex initial approximations.
 
Function documentation
auto initial_aberth(const std::vector<double>& pa) -> std::vector< std::complex< double > >
| Parameters | |
|---|---|
| pa | |
| Returns | std::vector<std::complex<double>> | 
auto aberth(const std::vector<double>& pa, std::vector<std::complex<double>>& zs, const Options& options) -> std::pair< unsigned int, bool >
Aberth's method is a method for finding the roots of a polynomial that is robust but requires complex arithmetic even if the polynomial is real. This is because it starts with complex initial approximations.
| Parameters | |
|---|---|
| pa | |
| zs | |
| options | |
| Returns | std::pair<unsigned int, bool> |