#include <Laguerre13m.h>
|
| | ModifiedLaguerre13 () |
| |
| void | operator() (std::vector< T > &poly, std::vector< std::complex< T > > &roots, std::vector< int > &conv, int itmax=80) override |
| | Find the roots of a polynomial using Laguerre's method.
|
| |
|
| void | laguer13 (const std::vector< std::complex< T > > &a, std::complex< T > &x, int &lam) |
| | Laguerre's method to find a root of a polynomial.
|
| |
|
| static constexpr T | eps = std::numeric_limits<T>::epsilon() |
| |
◆ ModifiedLaguerre13()
◆ laguer13()
Laguerre's method to find a root of a polynomial.
- Parameters
-
◆ operator()()
template<typename T >
| void Laguerre::ModifiedLaguerre13< T >::operator() |
( |
std::vector< T > & | poly, |
|
|
std::vector< std::complex< T > > & | roots, |
|
|
std::vector< int > & | conv, |
|
|
int | itmax = 80 ) |
|
inlineoverridevirtual |
Find the roots of a polynomial using Laguerre's method.
- Parameters
-
| poly | Polynomial object. |
| roots | Vector to store the roots. |
| conv | Vector to store convergence status of each root. |
| itmax | Maximum number of iterations. |
Implements BaseSolver< T >.
◆ eps
The documentation for this class was generated from the following file: